How-to guides · Single sign-on in the docs

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.

Updated .

Continue with Microsoft or single sign-on?

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:

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

Single sign-on with Entra: before you start

  1. 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.
  2. Admin access to Microsoft Entra (Application Administrator or higher) to create apps and assign people.
  3. 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

  1. Go to Entra ID → App registrations and click New registration.
  2. Name it PollQ. Under Supported account types, keep Single tenant only.
  3. Under Redirect URI, choose the Web platform (not Single-page application) and enter https://pollq.app/api/auth/sso/callback. Click Register.
  4. On the app's Overview, copy the Application (client) ID.
  5. 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.
  6. Optional: under API permissions, click Grant admin consent so people aren't asked to approve the app the first time.

In PollQ

  1. On your organization's settings page, find Single sign-on and choose OpenID Connect.
  2. Issuer URL: https://login.microsoftonline.com/<your-tenant-id>/v2.0. Then paste the Client ID and the Client secret, and click Save.
  3. 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

  1. 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.
  2. Open Single sign-on and choose SAML.
  3. 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.
  4. 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.
  5. 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.
  6. Back in Single sign-on, under SAML Certificates, copy the App Federation Metadata Url.
  7. 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

  1. Paste the metadata URL and click Save. PollQ reads Entra's entity ID, sign-in URL and signing certificate from it.
  2. 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

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.