SAAQ – Microsoft 365 sign-in setup
·
SAAQ's Microsoft Entra administrator needs about 15 minutes to let multimedia@saaq.gouv.qc.ca and amenagements.numerique@saaq.gouv.qc.ca sign in to iGotcha Signage with their Microsoft 365 accounts.
Our application is iGotcha Signage, application (client) ID
. If a portal
link lands on the wrong page, follow
the menu path instead.
|
Link |
Used in |
What it's for |
|
Step 4 |
Where users sign in with the "Office 365" button |
|
|
Step 2 |
One-click admin consent; open it signed in as an administrator |
|
|
Step 1 |
Check each account is enabled and its sign-in name (UPN). Menu: Identity → Users → All users |
|
|
Step 1 |
Unblock sign-in on an account. Menu: Users → Active users |
|
|
Steps 2–3 |
Find iGotcha Signage after approval; assignment and permissions. Menu: Identity → Applications → Enterprise applications |
|
|
Step 2 |
Approve a request a user already sent. Menu: Enterprise applications → Admin consent requests |
|
|
Step 3 |
Check no policy blocks the app. Menu: Protection → Conditional Access → Policies |
|
Link |
Used in |
What it's for |
|
Troubleshooting |
Explains any AADSTS code: replace 50020 at the end with the code you got |
|
|
Step 2 |
Microsoft's own instructions for Step 2 |
|
|
Step 1 |
Why shared mailboxes can't sign in by default |
One SAAQ administrator can do Steps 1–3; Step 4 needs someone who can sign in as one of the two accounts.
Administrator role: Global Administrator, Cloud Application Administrator or Application Administrator in Microsoft Entra. Unblocking an account (Step 1) also needs User Administrator or higher.
Accounts: multimedia@saaq.gouv.qc.ca and amenagements.numerique@saaq.gouv.qc.ca. Both already exist in iGotcha Signage with access to SAAQ.
What our application asks for: permission to sign users in and read their basic profile (name, email). No access to mail, files or calendars.
Each account must be enabled for sign-in, and its sign-in name (UPN) must be exactly the address above.
1.
Open Entra admin center
– Users and search for .
2. Open the account. Check User principal name is exactly
.
3. On the Properties tab, check Account enabled is Yes.
4.
Repeat for .
If either is a shared mailbox: Microsoft blocks sign-in on shared mailboxes by default, and they have no usable password. Choose one:
Enable sign-in: in Microsoft 365 admin center – Active users, select the account, choose Unblock sign-in, then Reset password and give the password to whoever will use it.
Use named accounts instead (Microsoft's recommendation): send us the addresses of the people who will use iGotcha Signage, and we'll create users for them.
If a UPN differs from the email address: send us the UPN. We'll update the user in iGotcha Signage to match.
An administrator grants consent once, for the whole organization; users are never asked. Use whichever way fits your process.
1. Sign in to Microsoft as an administrator, then open Approve iGotcha Signage for y our organization.
2. Check the app is iGotcha Signage and the permissions are sign-in and basic profile, then choose Accept.
3. Microsoft then sends you to an iGotcha Signage page, which may show an error. That's expected: consent is already saved. Close the tab.
1. On iGotcha Signage, choose Office 365 and sign in with the administrator account.
2. On the permissions screen, tick Consent on behalf of your organization, then Accept.
3. iGotcha Signage will then say the administrator's account doesn't exist on the platform. That's expected: only the two SAAQ accounts have iGotcha users.
If a user saw Need admin approval and sent a request, open Admin consent requests, select iGotcha Signage, choose Review permissions and consent, then Accept.
To confirm it worked: in Enterprise applications, search for iGotcha Signage and open
Permissions. The permissions should show under Admin consent.
Skip this step if you don't restrict which apps users can open; otherwise, allow the two accounts.
1. In Enterprise applications, open iGotcha Signage → Properties.
2. If Assignment required? is Yes: go to Users and groups → Add user/group, and add both accounts (or a group containing them).
3. Open Conditional Access policies. For any policy covering all cloud apps, check the two accounts can meet it (for example a compliant device, a trusted location or MFA), or include iGotcha Signage where you allow approved apps.
The test passes when the user reaches the iGotcha Signage home page.
1. In a private browser window, open iGotcha Signage and choose Office 365.
2. Sign in as multimedia@saaq.gouv.qc.ca with the usual SAAQ password and MFA.
3. iGotcha Signage may then email a verification code to that mailbox. Enter it to finish.
4. Repeat for amenagements.numerique@saaq.gouv.qc.ca.
If anything fails, take a screenshot of the full error, including the AADSTS code, and see Troubleshooting below.
The AADSTS code in a Microsoft error says which side needs to act.
|
Error |
Meaning |
Who fixes it |
|
AADSTS50020 – account "does not exist in tenant 'igotchamedia'" |
Sign-in from SAAQ isn't enabled on iGotcha's side yet |
iGotcha |
|
AADSTS65001 or AADSTS90094 – "Need admin approval" |
Admin consent hasn't been granted |
SAAQ – Step 2 |
|
AADSTS50105 – "not assigned to a role for the application" |
Assignment is required and the user isn't assigned |
SAAQ – Step 3 |
|
AADSTS53003 – "blocked by Conditional Access" |
A Conditional Access policy blocked the sign-in |
SAAQ – Step 3 |
|
Error |
Meaning |
Who fixes it |
|
AADSTS50057 – "user account is disabled" |
Sign-in is blocked on the account (common for shared mailboxes) |
SAAQ – Step 1 |
|
AADSTS50126 – invalid username or password |
Wrong password |
The user |
|
iGotcha Signage: "Your account … does not exist on this platform" |
Microsoft sign-in worked, but the UPN doesn't match the address in iGotcha Signage |
iGotcha – send us the UPN |
For any other code, use the Microsoft sign-in error lookup and replace 50020 with your code.
If SAAQ's policy doesn't allow approving third-party applications, iGotcha can invite the two accounts as guests in its own Microsoft tenant instead; Steps 2 and 3 are then not needed.
1. iGotcha sends each account a Microsoft invitation by email.
2. Each user opens the invitation and accepts it, signing in with their SAAQ account.
3. They then sign in to iGotcha Signage as in Step 4.
This only works if SAAQ's cross-tenant access settings allow outbound B2B collaboration with iGotcha. Many government tenants block it by default; your administrator can check under External Identities → Cross-tenant access settings → Outbound access.