How to sign in with Microsoft and set up Microsoft Entra single sign-on
If your company uses Microsoft 365, there are two ways to sign in to PollQ with a work account. Continue with Microsoft works for anyone, with no setup in PollQ. Single sign-on with Microsoft Entra ID is something your IT team sets up for your organization, and can require. This guide covers both.
Continue with Microsoft or single sign-on?
- Continue with Microsoft is a button on the sign-in page. It proves who you are, like an email code but faster. Nobody at your company has to set anything up in PollQ, and it's one option next to email codes and Google.
- Single sign-on (SSO) connects your PollQ organization to your company's identity provider, here Microsoft Entra ID. People at your verified email domains type their email, click Continue, sign in at Microsoft, and join your organization automatically. IT decides who gets in, and can require it so email codes, Google and Microsoft sign-in are turned off for those people.
Both can show you a Microsoft sign-in page. The difference is who controls it: Continue with Microsoft is for individuals, single sign-on is your company's.
Continue with Microsoft
Who can use it:
- Work and school accounts, and personal Outlook.com, Hotmail and Live addresses. A personal Microsoft account made with another address (like your work email) can't be used: Microsoft only checked that address once, when the account was made. Use an email code for it.
- An email address Microsoft vouches for. The account needs an email address, and your company must have verified that domain in Microsoft Entra ID. PollQ checks Microsoft's signal for this, so nobody can claim an address at a domain their company doesn't own.
- Not when your organization requires single sign-on. People at that domain are sent to your company's single sign-on instead.
PollQ asks Microsoft only for your name and email address (the openid, profile and email permissions). PollQ is published by Lukla Logic LLC, a Microsoft-verified publisher, so the consent screen
shows a verified badge.
For IT: allowing it
With Microsoft's default settings, people can approve PollQ for themselves the first time they sign in. If your tenant doesn't allow that, they see Need admin approval. A Global Administrator (or Cloud Application Administrator) can approve it for everyone: sign in to PollQ with Continue with Microsoft and check Consent on behalf of your organization before accepting. PollQ then appears under Enterprise applications, where you can also limit it to assigned users or turn it off.
Microsoft sign-in errors
- "Your Microsoft account didn't share an email address": the user has no email set in Entra. In Entra ID → Users, open the user, choose Edit properties, and set Email on the Contact information tab, or give them a sign-in name (user principal name) at your company's domain.
- "Your organization hasn't verified that it owns your email address's domain": add the domain under Entra ID → Domain names (custom domain names) and verify it with the TXT record Microsoft shows. A domain can only be verified in one Microsoft tenant; if another tenant of yours holds it, remove it there first.
- "Your organization signs you in with single sign-on": your company requires SSO in PollQ. Type your work email and click Continue.
- "Personal Microsoft accounts can sign in with Outlook.com, Hotmail and Live addresses": you signed in with a personal Microsoft account that uses another address. Pick your work or school account at Microsoft, or use an email code.
- Need admin approval on Microsoft's page: see For IT above.
Single sign-on with Entra: before you start
- A PollQ organization where you're an owner, with your email domain verified on its settings page (under Email domain, add the TXT record PollQ shows and click Verify). Single sign-on only signs in addresses at verified domains.
- Admin access to Microsoft Entra (Application Administrator or higher) to create apps and assign people.
- Your tenant ID, from Entra ID → Overview. It looks like
80c53239-989a-472e-baac-e8dce8fde56a.
PollQ works with Entra over OpenID Connect (three values to paste) or SAML 2.0 (one metadata URL, no secret). Both work with Entra's default settings, and an organization uses one at a time.
Set up OpenID Connect
In Entra
- Go to Entra ID → App registrations and click New registration.
- Name it PollQ. Under Supported account types, keep Single tenant only.
- Under Redirect URI, choose the Web platform (not Single-page application) and enter
https://pollq.app/api/auth/sso/callback. Click Register. - On the app's Overview, copy the Application (client) ID.
- Under Certificates & secrets, click New client secret, then copy its Value right away. Entra shows it only once, and the Secret ID next to it won't work.
- Optional: under API permissions, click Grant admin consent so people aren't asked to approve the app the first time.
In PollQ
- On your organization's settings page, find Single sign-on and choose OpenID Connect.
- Issuer URL:
https://login.microsoftonline.com/<your-tenant-id>/v2.0. Then paste the Client ID and the Client secret, and click Save. - Click Test sign-in (see Test it).
Client secrets expire (Entra suggests 6 to 24 months). Before yours does, add a new one in Entra, then click Edit in PollQ and paste it.
Set up SAML 2.0
In PollQ, copy two values
On your organization's settings page, under Single sign-on, choose SAML 2.0. Keep the page open
for its Entity ID (Audience) and ACS URL, which look like https://pollq.app/api/auth/saml/<your-organization-id> and the same with /acs at the end.
In Entra
- Go to Entra ID → Enterprise applications, click New application, then Create your own application. Name it PollQ, keep Integrate any other application you don't find in the gallery (Non-gallery), and click Create.
- Open Single sign-on and choose SAML.
- In Basic SAML Configuration, click Edit. Add PollQ's Entity ID as the Identifier (Entity ID) and its ACS URL as the Reply URL. Leave the rest empty and click Save.
- Leave Attributes & Claims and the signing certificate as they are. Entra signs the assertion with SHA-256, which PollQ requires, and sends the user's sign-in name as the Name ID.
- Open Users and groups, click Add user/group, and assign the people who should use PollQ. Entra refuses anyone who isn't assigned. Assigning groups needs a Microsoft Entra ID P1 or P2 plan; on other plans, assign people one by one.
- Back in Single sign-on, under SAML Certificates, copy the App Federation Metadata Url.
- Optional, after a successful test: so the PollQ tile in My Apps signs people in, set Sign on URL in Basic SAML Configuration to your organization's sign-in link (see How your colleagues sign in).
Back in PollQ
- Paste the metadata URL and click Save. PollQ reads Entra's entity ID, sign-in URL and signing certificate from it.
- Click Test sign-in.
PollQ takes the email address from the Name ID, which is the user's sign-in name (user principal name) by default. If your users'
sign-in names aren't their email addresses, change the Name ID to user.mail under Attributes &
Claims.
Test it
Click Test sign-in and sign in through Microsoft as someone at your verified domain (and, for SAML, assigned to the app). You come back to the settings page with Test sign-in worked, and the status shows Working. If something is wrong, you come back with the reason instead.
Already signed in to Microsoft in that browser? Microsoft may send you straight back. To see the full sign-in your colleagues get, test in a private window. Saving new settings resets the status, so test again after any change.
Require single sign-on (optional)
After a successful test, you can turn on Require single sign-on. People at your verified domains can then only sign in through Entra: email codes, Google and Continue with Microsoft are turned off for them, and their other sessions end. Removing someone in Entra stops new sign-ins; also remove them from the organization in PollQ to end sessions already open.
Single sign-on troubleshooting
- "The identity provider refused PollQ…" (OpenID Connect): the client ID or secret doesn't match, often because the Secret ID was pasted instead of the Value, or the secret expired. Create a new secret and paste its Value.
- Microsoft says the redirect URI doesn't match (
AADSTS50011): the app registration needshttps://pollq.app/api/auth/sso/callbackunder the Web platform, not Single-page application. - Microsoft says you aren't assigned (
AADSTS50105, SAML): assign the person under the enterprise app's Users and groups. - "…an address outside this organization's verified domains": the email Entra sent isn't at a domain your PollQ organization verified. For SAML, check the Name ID (see the note above).
- "…signs with SHA-1" (SAML): in the enterprise app's SAML Certificates, set the signing algorithm back to SHA-256.
- Entra rotated its signing certificate (SAML): click Edit in PollQ and save the same metadata URL again so PollQ picks up the new certificate.
How your colleagues sign in
With single sign-on, they type their work email on the PollQ sign-in page and click Continue; PollQ sends them to Microsoft with their email filled in. Or share your organization's sign-in link, shown in the Single sign-on settings after a successful test (like https://pollq.app/sso/yourcompany.com), on your intranet, or set it as the PollQ app's Sign on URL (SAML) or Home page
URL (app registration) so its tile in My Apps signs people in. The first time, PollQ makes their account and adds them to your organization as a member; owners and admins can
change their role later. Using Okta instead? See How to set up single sign-on with
Okta.