Search


Abhijit Tiwari
- May 29, 2017
- 2 min
Powershell Script to fetch List of Administrator and Service Principals on Azure Active Directory/ O
Well I got a request from one of my customer who had an Office 365 subscription with more that 20000 users and wanted to know the list of administrators who were managing the Azure AD. Well, as usual the issue was that getting the list from the UI was an option that needed scrolling of multiple pages. Hence, I was told to craft a script for him which would give him all the information he needed. Surprisingly, my script also revealed information about service principals regist
759 views0 comments

Abhijit Tiwari
- May 17, 2017
- 1 min
Automate Office 365,EMS,Azure AD Premium Licensing on basis of Group Membership
Often admins have complained that they are not able to assign Licenses to users on basis of groups. Although, if you are a powershell geek, you could have done this. However, for a layman it was a tedious process. Fortunately, Microsoft has listened to your feedback. You can now add licenses to users on the basis of Group membership. The video below will show you the steps involved. This shall require you to login to the Azure Portal. In my case I have created a Group called
81 views0 comments

Abhijit Tiwari
- Oct 17, 2016
- 1 min
How to get List of Groups in Office 365 and its Members in a consolidated output using Powershell
Recently I happened to come across a situation where a customer requested to get group membership of all groups in a consolidated output. There is a limitation with the Command Get-MSOLGroupMember i.e. It only gets the output of one group at a time. Hence, I created the following script to get a consolidated output. Hope it helps you all. Following is the script and E.g of the Output:- The Above Code Is a Single Line Code. Make sure that when you copy the above , and all of i
1,013 views0 comments
Abhijit Tiwari
- Jan 27, 2016
- 1 min
Powershell Script to convert objectGUID values of local AD to ImmutableID (Base64)
Now, someone requested me to come up with a script that would show immutable IDs of all the user objects so that the harmatch process becomes easy. Before we get started make sure that you are running this script that has the RSAT tools or has the Active Directory Modules. The script is as follows:- Make sure that you run this in Powershell ISE, if you are copying this from the website, else download the same from here:- https://drive.google.com/file/d/0B5Cte9cWiLlmeVpYRk5iRT
5,037 views0 comments

Abhijit Tiwari
- Jan 26, 2016
- 2 min
How to migrate users on office 365 after a AD migration or ADMT move
Recently, I dealt with situation where a customer was migrating AD objects from one forest to another. Now, there are many situations why you would wish to do that. In my case , the person was decomissioning Server 2003 and had setup Server 2012 R2. In my previous article related to HardMatching the user accounts I had descibed that once a user is synced the ObjectGUID on the local AD is stamped on the cloud object as a source anchor as a base64 value. But this operation only
2,192 views0 comments

Abhijit Tiwari
- Jan 19, 2016
- 2 min
Password set to never expire on local AD, yet user gets a prompt to update the password on office 36
I had came across an unusual situation where the user account was synced from AD and the password sync was working just as fine as I was able to reset passwords with no errors, ironically with some users who had the password set to never expire, started getting messages on office 365 to reset the password as it had expired and this blew up my mind for a while. According to Microsoft's documentation Link- https://msdn.microsoft.com/en-us/library/azure/dn246918.aspx if you enab
474 views0 comments
{"items":["5e272236d51d2b0017a0a653","5e272236214ee30017d93e73","5e2722367431de0017373c74","5e272237749e510017818f38","5e2722375809750017351296","5e27223625a63700176ce406","5e2722369dce4b00171f5173"],"styles":{"galleryType":"Columns","groupSize":1,"showArrows":true,"cubeImages":true,"cubeType":"fill","cubeRatio":1.3333333333333333,"isVertical":true,"gallerySize":30,"collageAmount":0,"collageDensity":0,"groupTypes":"1","oneRow":false,"imageMargin":32,"galleryMargin":0,"scatter":0,"rotatingScatter":"","chooseBestGroup":true,"smartCrop":false,"hasThumbnails":false,"enableScroll":true,"isGrid":true,"isSlider":false,"isColumns":false,"isSlideshow":false,"cropOnlyFill":false,"fixedColumns":1,"enableInfiniteScroll":true,"isRTL":false,"minItemSize":50,"rotatingGroupTypes":"","rotatingCropRatios":"","columnWidths":"","gallerySliderImageRatio":1.7777777777777777,"numberOfImagesPerRow":1,"numberOfImagesPerCol":1,"groupsPerStrip":0,"borderRadius":0,"boxShadow":0,"gridStyle":1,"mobilePanorama":false,"placeGroupsLtr":true,"viewMode":"preview","thumbnailSpacings":4,"galleryThumbnailsAlignment":"bottom","isMasonry":false,"isAutoSlideshow":false,"slideshowLoop":false,"autoSlideshowInterval":4,"bottomInfoHeight":0,"titlePlacement":"SHOW_ON_THE_RIGHT","galleryTextAlign":"center","scrollSnap":false,"itemClick":"nothing","fullscreen":true,"videoPlay":"hover","scrollAnimation":"NO_EFFECT","slideAnimation":"SCROLL","scrollDirection":0,"scrollDuration":400,"overlayAnimation":"FADE_IN","arrowsPosition":0,"arrowsSize":23,"watermarkOpacity":40,"watermarkSize":40,"useWatermark":true,"watermarkDock":{"top":"auto","left":"auto","right":0,"bottom":0,"transform":"translate3d(0,0,0)"},"loadMoreAmount":"all","defaultShowInfoExpand":1,"allowLinkExpand":true,"expandInfoPosition":0,"allowFullscreenExpand":true,"fullscreenLoop":false,"galleryAlignExpand":"left","addToCartBorderWidth":1,"addToCartButtonText":"","slideshowInfoSize":200,"playButtonForAutoSlideShow":false,"allowSlideshowCounter":false,"hoveringBehaviour":"NEVER_SHOW","thumbnailSize":120,"magicLayoutSeed":1,"imageHoverAnimation":"NO_EFFECT","imagePlacementAnimation":"NO_EFFECT","calculateTextBoxWidthMode":"PERCENT","textBoxHeight":0,"textBoxWidth":200,"textBoxWidthPercent":50,"textImageSpace":10,"textBoxBorderRadius":0,"textBoxBorderWidth":0,"loadMoreButtonText":"","loadMoreButtonBorderWidth":1,"loadMoreButtonBorderRadius":0,"imageInfoType":"ATTACHED_BACKGROUND","itemBorderWidth":1,"itemBorderRadius":0,"itemEnableShadow":false,"itemShadowBlur":20,"itemShadowDirection":135,"itemShadowSize":10,"imageLoadingMode":"BLUR","expandAnimation":"NO_EFFECT","imageQuality":90,"usmToggle":false,"usm_a":0,"usm_r":0,"usm_t":0,"videoSound":false,"videoSpeed":"1","videoLoop":true,"jsonStyleParams":"","gallerySizeType":"px","gallerySizePx":940,"allowTitle":true,"allowContextMenu":true,"textsHorizontalPadding":-30,"itemBorderColor":{"themeName":"color_12","value":"rgba(212,209,209,1)"},"showVideoPlayButton":true,"galleryLayout":2,"targetItemSize":940,"selectedLayout":"2|bottom|1|fill|true|0|true","layoutsVersion":2,"selectedLayoutV2":2,"isSlideshowFont":false,"externalInfoHeight":0,"externalInfoWidth":0.5},"container":{"width":940,"galleryWidth":972,"galleryHeight":0,"scrollBase":0,"height":null}}