Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification on SSO Add-in Templates and Azure Deployment #4988

Open
LukasSchauffele opened this issue Jan 12, 2025 · 2 comments
Open

Clarification on SSO Add-in Templates and Azure Deployment #4988

LukasSchauffele opened this issue Jan 12, 2025 · 2 comments
Assignees
Labels
Area: authentication Feedback on authentication content

Comments

@LukasSchauffele
Copy link

LukasSchauffele commented Jan 12, 2025

I am hoping this is the correct repo to post this in.

I am looking at developing my first office add-in pulling data using Microsoft Graph. As far as I can tell there are two articles to help me get started:

Create a Node.js Office Add-in that uses single sign-on and Single sign-on (SSO) quick start.

The code from the Office-Add-in-samples repo is different from the code produced by yo office.

The instructions on the quick start page seem to indicate that it's only suitable for local development/testing only.

CleanShot 2025-01-12 at 13 45 58

However, I haven't been able to find any instructions on how to deploy the other sample to Azure. In fact, I've only found @davidchesnut Deploy Office Add-in that uses SSO to Azure App Service video showing how to deploy an SSO add-in using the yo office generator.

Which template should we be using when developing an SSO add-in for production purposes? If the answer is to use the sample add-in, are there any instructions on how to deploy to Azure? Finally, why are there two starter templates, and are there any plans to converge these two?

Thanks for your help.
Lukas

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Jan 12, 2025
@Rick-Kirkham Rick-Kirkham added Area: authentication Feedback on authentication content Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Jan 12, 2025
@Rick-Kirkham
Copy link
Contributor

@davidchesnut Can you give any guidance?

@davidchesnut
Copy link
Member

Hi @LukasSchauffele,

Yes we document how to publish add-ins built with the SSO template here: Deploy a single sign-on (SSO) Office Add-in to Microsoft Azure App Service.

These steps should work with the SSO sample as well, but there's probably a few things that are slightly different. We are doing some doc/sample planning to update the SSO articles, and I agree the coding patterns should all be the same template if possible. We'll work to get these updated.

Thanks!
David

@davidchesnut davidchesnut removed the Needs: attention 👋 Waiting on Microsoft to provide feedback label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: authentication Feedback on authentication content
Projects
None yet
Development

No branches or pull requests

3 participants