How to add SPO to my tenant?

Fx777 0 Reputation points

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,323 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,211 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 33,486 Reputation points Microsoft Vendor

    Hi @

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

    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

    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.