Press ESC to close

PowerShell error: Get-AzureADDirectorySetting

Are you trying to enable MIP labels for your Microsoft 365 Groups in your Office 365 tenant with PowerShell and you are getting the following error:

Get-AzureADDirectorySetting : Cannot bind argument to parameter 'Id' because it is null.

You first have to follow the directions mentioned in this article:

https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-settings-cmdlets

After I entered an example guideline, I was able to execute the first command. Hope this solves you some time and frustration 🙂


Jasper Oosterveld

My name is Jasper Oosterveld. I am a Microsoft MVP, Data Security & Microsoft 365 Consultant based in the Netherlands. I’ve spent the last decade helping organizations tackle complex challenges around Governance, Adoption and Data Security with Microsoft Purview. My mission? To empower companies to protect their data and streamline collaboration in Microsoft 365, all while keeping governance and adoption at the forefront.

Comments (2)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.