Forum Discussion

Deleted's avatar
Deleted
May 25, 2017

Having Issue Setting GroupCreationAllowedGroupId

I was able to create a template and apply nearly all the settings but GroupCreationAllowedGroupId. I didn't have any issue with my test environment. In production, powershell throws no errors but ev...
  • Drew Madelung's avatar
    May 30, 2017

    It could be the Get-AzureADGroup call. The | Where-object clause iterates through all returned group objects to find the group you’re looking for. By default, Get-AzureADGroup returns only the first 100 objects in a directory. So if the group you’re looking for isn’t there, the statement will not return a value for ObjectId.

    To get all group objects, try using Get-AzureADGroup -All $True

Resources