Is there any way that I can upload office add-in using rest api ?

Aaditya Rane 51 Reputation points

What I have tried ?

I have tried using Power Shell to upload office add-in by referring following link,
Use the Centralized Deployment PowerShell cmdlets to manage add-ins

but I ended up receiving,

   PS C:\WINDOWS\system32> New-OrganizationAddIn -ManifestPath 'D:\Manifest\manifest.xml' -Locale 'en-US'   
   Extracting Add-In's manifest...  
   **The Add-In you are trying to upload supports Single Sign On and to upload the Add-In you need to use Office 365 Admin Center.  
   Press Enter to consent to the Add-In in Office 365 Admin Center.**  
   If there are any issues you can go to  
   And go to Settings > Services & Add-Ins  

Also, the URL mentioned in above message, which is, is old. We no longer upload add-in from this endpoint.


Additionally, I do have referred,
Deploy and publish Office Add-ins

As, since it is an Outlook add-in, it cancelled out uploading it via SharePoint app catalog.

Is there any other way that I can do it using command shell or rest APIs ?
Additionally, is there any restriction to upload add-in which supports Single sign on via PowerShell ?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,013 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,311 questions
0 comments No comments
{count} votes