Unable to Deploy Add-in in Admin Center After Adding SSO Code

s w 100 Reputation points
2024-06-07T14:03:02.2033333+00:00

I created a Word add-in that requires SSO for necessary permissions. When I tested it in Word online, I successfully added my manifest without errors, and the functions worked correctly.

However, when I attempted to upload my manifest file to the Microsoft 365 Admin Center for centralized deployment of add-ins, I encountered an error: 'There was an error while granting admin consent. Please try refreshing the page.' After removing the SSO part from my manifest file, I was able to upload it successfully.

I suspect that I may have misconfigured my Azure AD settings. Could you please assist me in identifying where I went wrong? Any help would be greatly appreciated.

Below is my configurations:

I followed this document to set up my sso:

Register an Office Add-in that uses single sign-on (SSO) with the Microsoft identity platform

This is my manifest file sso configuration (with my application id):

I have all necessary permission granted:

I also set up my Web URIs and my custom scope (with my application id):I have my add-in url added in the Web Redirect URIs.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
0 comments No comments
{count} votes