Using Active Directory With Sharepoint to use the Excel Endpoints on Graph API

Kaveen Rodrigo 21 Reputation points
2020-03-09T09:38:25.413+00:00

I'm presented with the error "Tenant does not have a SPO license" when using the Graph API listing files on ODrive.

I'm well aware of the following article, and Currently at the same point as the poster of the said article.
Stackoverflow - Tenant does not have a SPO license I've created an Application on my AD and followed the instructions on authentication. Now I need to purchase an SPO licence and associate it with my AD account as suggested in the aforementioned Stackoverflow link. I have, 1. Created an AD user under the AD tenant, Ie- user@Anonymous .onmicrosoft.com 2. Signed up for O365 Business with the new email. But during the buying process of Sharepoint I end up with the following error when trying to complete my Sharepoint purchase

4012-screenshot-2020-03-09-at-145100.png

Any suggestions? Thanks in advance, K. Rodrigo

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,301 Reputation points
    2020-03-09T11:57:17.133+00:00

    @Kaveen Rodrigo Assign Global Administrator directory role (Azure Portal > Azure AD > Directory Roles > Global Administrator > click on assign) to the user, sign-out and sign back in. Try the purchase again.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.