How to add SPO to my tenant?

Fx777 0 Reputation points
2023-05-15T22:24:11.92+00:00

I made an azure account with my email and registered an app and saved my secrets etc

I try this upload url for a tenant I made as an admin: (hid my tennant id)

but get:

Response body: {"error":{"code":"BadRequest","message":"Tenant does not have a SPO license.","innerError":

how do I add SPO?

I was told

Navigate to Billing > Purchase services. Look for SharePoint Online and purchase at least one license.

but can't find this

`https://graph.microsoft.com/v1.0/users//drive/root:/${fileName}:/content`,
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,685 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,229 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2023-05-16T08:51:46.2366667+00:00

    Hi @

    You can follow the steps to purchase or try a free trial subscription. Please make a reference

    https://learn.microsoft.com/en-us/microsoft-365/commerce/try-or-buy-microsoft-365?view=o365-worldwide\

    If you have purchased an O365 Business subscription, you may still need to be assign SPO (SharePoint Online) license for specific AAD user/ O365 user.

    Use your admin account to log into O365 admin center and select a user and assign SPO license.

    enter image description here

    After clicking on "Edit", you can choose a SharePoint license to assign it to the user.

    Here is a similar issue with yours, you can make a reference

    https://stackoverflow.com/questions/46802055/tenant-does-not-have-a-spo-license


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.