A Microsoft Teams tab is a web page in an iframe, and it has no Workday access of its own. Teams single sign-on tells your server who the person is. Workday still needs its own OAuth sign-in as that worker, opened in a pop-up. Test the whole path on Android and iOS, because Microsoft documents cookie and pop-up limits there. All Microsoft facts here are from Microsoft Learn pages read in November 2026.
For when to use Workday’s own Teams agent instead, see Workday Everywhere against custom embedded screens.
What is a Teams tab, in practice?
Microsoft describes tabs as client-aware webpages embedded in Teams, Outlook and Microsoft 365: “simple HTML iframe tags that point to domains declared in the app manifest”. They can be part of a channel, a group chat, or a personal app for one user. There are two kinds. Static tabs in personal scope are pinned to the left navigation, and Microsoft says you can extend them to group chats, channels and meetings. Configurable tabs go in channels, group chats and meetings.
Three details change how you build a Workday screen:
- Same content for everyone. For static tabs the
contentUrlis set in the manifest, and Microsoft says the tab’s content is the same for all users. Put no worker ID in the URL. The worker comes from sign-in. - No native plugins. Teams apps run in sandboxed iframes and can’t use native plugins.
- Limits. Microsoft allows up to 16 static tabs per app, and a page must call
microsoftTeams.app.initialize()after it loads so Teams knows it loaded.
The manifest’s validDomains lists the domains the tab expects to load content from. Microsoft says that if the tab navigates to any other domain, that domain must be listed.
How should sign-in work?
There are two separate sign-ins, and they answer different questions.
1. Who is this person to Teams? Teams single sign-on gets an access token for the current Teams user from Microsoft Entra ID. Your tab calls getAuthToken() and sends the token to your server in the Authorization header. Microsoft notes:
- The token is a JWT and is both an access token and an identity token. The server should validate it.
- SSO supports OAuth 2.0 tokens only, not SAML tokens.
- Multiple domains per app aren’t supported.
getAuthTokenfails for anonymous users.- Microsoft says don’t store the token in client-side code.
If your Workday tenant signs in through Entra, this is the identity you match to a Workday worker. Mapping Teams identities to Workday workers covers the match. Microsoft also says the tab context (user details passed in URL parameters or from getContext()) is only a hint: a malicious page could supply its own values, so validate before use.
2. Who is this worker to Workday? An Entra token does not call Workday. To call Workday’s APIs as the worker, register an API client in Workday. Workday’s instructions for registering an API client for an external agent, which are the closest Workday page we read, choose the Authorization Code Grant, a Bearer access token and a Redirection URI, with the scope set to Agent System of Record. The token request goes to https://<tenantHost>/ccx/oauth2/<tenantName>/token. See the user-delegated OAuth setup guide.
For that authorization step, Microsoft’s tab guidance for third-party OAuth providers applies:
- Microsoft Entra ID, like most identity providers, doesn’t allow its content in an iframe. Use
authentication.authenticate(), which opens a pop-up window to a page on your domain, and have that page redirect to the provider. Microsoft states that this page’s domain should also be invalidDomains, or the pop-up is empty. The provider’s own domain need not be listed. - Start the flow from a user action, such as a Sign in to Workday button. Microsoft warns that opening the pop-up automatically is likely to trigger the browser’s pop-up blocker.
- Use a
statevalue and check it when the callback returns. End the callback withauthentication.notifySuccess()ornotifyFailure(). Withoutauthenticate(), the pop-up might not close. - Two named failures:
CancelledByUser, andFailedToOpenWindow, which in a browser typically means a pop-up blocker. Microsoft recommends againstsame-originorsame-origin-allow-popupsvalues for theCross-Origin-Opener-Policyheader on login pages, since they can cut the connection to the parent window and end the call early withCancelledByUser. - Microsoft also notes that Chrome applies cookie policies by default, so set your session cookie’s intended use.
The Workday pages we read do not say whether its sign-in page can be shown in a frame, so treat the pop-up as the safe design and confirm it in your tenant.
What breaks on Teams mobile?
Microsoft says to test your tab on both Android and iOS clients. Points from its mobile and SSO pages:
- Webview. Tabs from apps that aren’t published through the Teams Store, which includes a custom app in an organization’s catalog, open in an in-app webview in Teams. Microsoft says such apps behave like store apps approved for mobile, with no separate approval.
- Store apps not approved for mobile. Channel and group tabs open in the device’s default browser using
websiteUrl, or are unavailable on mobile if there is none, and personal apps don’t appear. - Cookies on iOS. Since iOS 14, Apple blocks third-party cookie access for all apps by default, so authentication that relies on third-party cookies can’t finish in Teams iOS channel, chat and personal tabs. Microsoft says to move to a token-based system or first-party cookies. It also says authentication fails when “Experimental third-party storage partitioning” is enabled.
- Library versions. Authentication on mobile requires TeamsJS 1.4.1 or later. SSO needs Teams for Android 1416/1.0.0.2020073101 or later and Teams for iOS 2.0.18 or later.
- Connections. Mobile clients run on low bandwidth and intermittent connections. Handle timeouts with a message and show progress for slow calls. A Workday call can be slow, so show it.
- Tab switching. If a mobile app has multiple tabs, switching tabs does not reload the tab.
What does a good first release look like?
- One personal static tab with a single screen, such as time off or pay.
- A server that validates the Teams SSO token and holds each worker’s Workday authorization, tied to the matched worker.
- A Sign in to Workday button that opens the pop-up on the first visit.
- Calls to Workday as that worker, so the screen shows what Workday allows for that person.
- A test pass on one Android and one iOS device before anyone else sees it.
Kiweely Leaf (coming next) builds screens like this on live Workday data, and lists Microsoft Teams, DingTalk, Feishu and Lark as places a screen can run, with employees signed in through single sign-on and matched to their Workday worker account. It stores layouts and settings, not worker records.
Frequently asked questions
Does Teams single sign-on sign someone in to Workday?
No. Microsoft describes Teams SSO as getting an access token for the Teams user from Microsoft Entra ID, which your tab sends to your server. That proves who the person is. To call Workday as that worker you still need a Workday OAuth authorization, which comes from an API client registered in Workday.
Why does the Workday sign-in open in a pop-up instead of inside the tab?
Microsoft states that Microsoft Entra ID, like most identity providers, doesn't allow its content in an iframe, and a tab is an iframe. Teams provides authentication.authenticate() to open your sign-in page in a pop-up and return the result. Check how your own Workday sign-in behaves when framed before relying on it.
Do Teams tabs work on the Teams mobile app?
Yes, and Microsoft says you must test on both Android and iOS. Custom apps uploaded to an organization's catalog behave like store apps approved for mobile, so tabs open in the Teams client in an in-app webview.
Can one tab show different content to each person?
Microsoft says a static tab's content is the same for all users, because the contentUrl is fixed in the manifest. Per-person content has to come from who signs in, not from the URL.