Forum Discussion

Ben_Leung's avatar
Ben_Leung
Icon for Microsoft rankMicrosoft
May 19, 2020

Installing AAD Graph API in new tenant

Hi I'm very new to Azure Active Directory (and Azure in general) so please bear with me. I'm in the process of provisioning a new tenant in Azure Dogfood so that I can do a tenant level deployment. However, I will need to first assign myself Owner role to the root scope using the Powershell cmdlet New-AzRoleAssignment according to this page (https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-to-tenant). However when I run the cmdlet I'm getting the error "The resource principal named https://graph.windows.net/ was not found in the
tenant named {tenatid}. This can happen if the application has not been installed by the administrator of the tenant". Apparently New-AzRoleAssignment will use AAD Graph API for authentication but AAD Graph API is not installed in the new tenant I provision. I try installing it through the market place in the Azure Portal but AAD Graph API is not found. How can I install AAD Graph API in the portal? Thanks

Resources