moving the Yeoman office SSO client secret

Adam Steven 1 Reputation point

Hello, I am developing an outlook add-in using the Yeoman Office generator (Office Add-in Task Pane project supporting single sign-on).

All documentation on using this program says to run "npm run configure-sso" after Yeoman has finished and it builds the AAD instance for you.

My problem is "npm run configure-sso" saves the client secret in Microsoft's Credential Manager (on the PC), but I want to host my add-in on Azure. Is there a way to move the client secret from Credential Manager into an Azure instance, or into an environment variable in the add-in?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,848 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Siva-kumar-selvaraj 15,566 Reputation points

    Hello @Adam Steven ,

    Thanks for reaching out.

    This is still not supported by the office-addin-sso default package. You have to remove that default package and then add the code yourself to handle SSO so that you can deploy to Azure. Our product team have a plan to document this in August, so hopefully will have guidance around this soon.

    Here are some sample JavaScript to deploy to Azure app service.


    Hope this helps.


    1 person found this answer helpful.
    0 comments No comments