47 votes6 comments · Azure Active Directory » Role-based Access Control · Flag idea as inappropriate… · Admin →
We support service principals to be added to security groups. Here’s the documentation – https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-groups-create-azure-portal#group-types
An error occurred while saving the commentAnonymous commented
It's definitely a BREAKING CHANGE because this function is available in Add-AzureADGroupMember but not available in Add-AzureADGroupMember.
Why it is called so? It should be like Add-AzureADUserGroupMember or something like that NOT to CONFUSE people.
How would I need to migrate my PowerShell code from 5.1 to Az and 6+? Why even it wasn't designed from the start? This is available in Azure Portal but not here.
For #1 we suggest you use a hybrid worker that has larger limits than Automation sandboxes. For #2 you can use the -AzureRmContext parameter when using an Azure cmdlets in runbooks.