Purchasing office365 licenses using Microsoft Graph API

Jennie Klein 16 Reputation points
2021-06-08T05:57:59.717+00:00

Can I purchase office365 licenses with the Microsoft Graph API?
I haven't seen anything in the documentation and the only thing I found on the internet was this old link to stack overflow that says it's not possible - https://stackoverflow.com/questions/42826726/buy-o365-sku-license-via-graph-api/42846931#42846931

Any help will be great!

Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
598 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Matthew Crocker 261 Reputation points
    2023-11-24T13:38:46.9133333+00:00

    Thought I would add a note here, since I was doing the research anyway. The Beta API still (Q4, 2023) only has Get (GET /directory/subscriptions/) and List (GET /directory/subscriptions/{id}) functionality. Useful for reporting, but not for creating anything new so unfortunately no you cannot purchase using Graph.

    0 comments No comments

  2. PAUL PROMISE DZAHINI 110 Reputation points
    2023-11-24T14:16:41.0233333+00:00

    The Microsoft Graph API is a powerful tool that allows you to access and modify data across Microsoft 365 services, such as Outlook, OneDrive, Teams, SharePoint, and more.

    However, the Microsoft Graph API cannot be used to purchase additional subscriptions or service plans for your tenant. It can only be used to assign existing licenses which have been provisioned in your tenant. Also, there is no public API that supports these sorts of calls.

    0 comments No comments