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

s w 100 Reputation points
2024-06-07T14:12:52.51+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, upon uploading my manifest file to the Microsoft 365 Admin Center for centralized deployment of add-ins, I encountered an error: 'There was an error while giving the admin consent. Please try refreshing the add-in from it's details 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?

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

I have all necessary permission granted: Capture I also set up my Web URIs and my custom scope (with my application id):Capture User's image

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.
996 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,974 questions
0 comments No comments
{count} votes

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.