Create personal app in Teams dev that launches a website

PW-0446 0 Reputation points
2024-11-12T18:58:52.05+00:00

Looking to create a personal app in Teams dev so users can launch a website from an icon on the sidebar. The website is a different domain than our tenant domain and also has SAML SSO in front of it so there are a few redirects. When I try to build the app in Teams using simple personal app that points to a URL, I'm getting too many redirects error when I test in Teams. Anyone know if its possible to configure the app so that Microsoft allows the redirects for SSO authentication?

Thanks!

Microsoft Teams | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sayali-MSFT 3,996 Reputation points Microsoft External Staff Moderator
    2024-11-13T08:36:28.5666667+00:00

    Hello PW-0446,
    Thank you for your inquiry about your Teams app development issue!

    Currently, redirects aren't supported for iframes or brokered apps. Ensure that you use MSAL.js in the top frame of the window if you use the redirect APIs or use the popup API.
    Reference doc:-https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/tab-sso-overview#known-limitations

    Also, here provides guidance for specific errors when signing into an application configured for SAML-based federated Single Sign-On with Microsoft Entra ID.

    0 comments No comments

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.