Microsoft 365 Microsoft Purview MIP

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:

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

You Might Also Like


  • Reply
    Fergus Wilson
    January 24, 2021 at 1:51 pm


  • Reply
    Pardeep Sehmbi
    February 11, 2022 at 2:44 pm


  • Leave a Reply

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