How do I configure Azure AD SSO with SAML for word add-in( office.js )

Chetan Kotwal 0 Reputation points
2023-02-21T09:14:35.58+00:00

Hi Team,

Currently, We are using msalClient authentication to signing user in our office add-ins(excel and word) using office.js. We are using Graph Api to retrieve data from one drive for that purpose also we are using same authentication.

We wish to implement the same thing using SAML authentication. We searched all add-in related stuff but we didn't find any reference.

Can you help us / guide us how we can achieve this. Is there any way to authenticate user using Security Assertion Markup Language(saml) in office.js?

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

2 answers

Sort by: Most helpful
  1. Andrew O'Young 1 Reputation point MVP
    2023-02-22T09:47:18.9266667+00:00

    Hi @Chetan Kotwal
    I suspect you may need to add the add-in into Enterprise Applications in Azure AD and then enable SSO with SAML: https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/add-application-portal-setup-sso


  2. Andrew O'Young 1 Reputation point MVP
    2023-02-22T09:48:03.56+00:00

    Hi @Chetan Kotwal I suspect you may need to add the add-in into Enterprise Applications in Azure AD and then enable SSO with SAML:
    https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/add-application-portal-setup-sso

    0 comments No comments