Trying to add a Service Principal to the User account administrator role as described in: Windows Azure AD Graph and Role-Based Access Control
PS> add-msolrolemember -roleobjectid fe930be7-5e62-47db-91af-98c3a49a38b1 -RolememberObjectId 0myservi-ce53-42ea-b647-fda53cb65c73 -RoleMemberType User
Add-MsolRoleMember : This role does not exist.
At line:1 char:19
+ add-msolrolemember <<<< -roleobjectid fe930be7-5e62-47db-91af-98c3a49a38b1 -
RolememberObjectId 0.........-e353-42ea-b647-fda53cb65c73 -RoleMemberType User
+ CategoryInfo : OperationStopped: (:) [Add-MsolRoleMember], Micr
osoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.RoleN
otFoundException,Microsoft.Online.Administration.Automation.AddRoleMember
I have tried using the name option -RoleName "User Account Administrator" with the same result.
Thank you