|
| 1 | +--- |
| 2 | +title: Configuring Microsoft Entra (Azure) |
| 3 | +--- |
| 4 | + |
| 5 | +import useBaseUrl from '@docusaurus/useBaseUrl'; |
| 6 | + |
| 7 | +Before configuring Microsoft Entra, you have to [initiate SSO setup in Plausible](sso#initiating-sso-setup-in-plausible). |
| 8 | + |
| 9 | +- Sign in to your Microsoft Entra admin center as an Admin |
| 10 | +- Go to **Enterprise apps** |
| 11 | + |
| 12 | + <img alt="MS Entra applications list" src={useBaseUrl('img/sso-entra-apps-empty.png')} /> |
| 13 | + |
| 14 | +- Click "**New Application**" |
| 15 | + |
| 16 | + <img alt="MS Entra new application button" src={useBaseUrl('img/sso-entra-apps-empty-add-button.png')} /> |
| 17 | + |
| 18 | +- Click "**Create your own application**" |
| 19 | + |
| 20 | + <img alt="MS Entra new application button" src={useBaseUrl('img/sso-entra-create-own-app.png')} /> |
| 21 | + |
| 22 | +- Put "Plausible" in the Input name field, pick "Integrate any other application you don't find in the gallery" and click "**Create**" |
| 23 | + |
| 24 | + <img alt="MS Entra new application name" src={useBaseUrl('img/sso-entra-app-name.png')} /> |
| 25 | + |
| 26 | +- (Optional) Go to **Properties**, upload a [logo](/img/plausible_logo.png) and click "**Save**" |
| 27 | + |
| 28 | + <img alt="MS Entra update logo" src={useBaseUrl('img/sso-entra-update-logo.png')} /> |
| 29 | + |
| 30 | +- Go to **Single sign-on** and click "**SAML**" |
| 31 | + |
| 32 | + <img alt="MS Entra pick SAML" src={useBaseUrl('img/sso-entra-pick-saml.png')} /> |
| 33 | + |
| 34 | +- Click "**Edit**" next to **Basic SAML Configuration** |
| 35 | + |
| 36 | + <img alt="MS Entra basic SAML config" src={useBaseUrl('img/sso-entra-basic-saml-button.png')} /> |
| 37 | + |
| 38 | +- Click "**Add identifier**" and enter Identifier obtained when [Initiating SSO Setup in Plausible](sso#initiating-sso-setup-in-plausible) |
| 39 | + |
| 40 | + <img alt="MS Entra add Identifier" src={useBaseUrl('img/sso-entra-add-identifier.png')} /> |
| 41 | + |
| 42 | +- Click "**Add reply URL**" and enter Reply URL obtained when [Initiating SSO Setup in Plausible](sso#initiating-sso-setup-in-plausible) and click "**Save**" |
| 43 | + |
| 44 | + <img alt="MS Entra add Reply URL" src={useBaseUrl('img/sso-entra-add-reply-url.png')} /> |
| 45 | + |
| 46 | +- Go to **Single sign-on** and click "**Edit**" next to **Attributes & Claims** |
| 47 | + |
| 48 | + <img alt="MS Entra attributes button" src={useBaseUrl('img/sso-entra-attrs-button.png')} /> |
| 49 | + |
| 50 | +- Click on **emailaddress** claim, change **Name** to `email`, clear **Namespace** input, leave **Source** intact and click "**Save**" |
| 51 | + |
| 52 | + <img alt="MS Entra email claim click" src={useBaseUrl('img/sso-entra-email-claim-click.png')} /> |
| 53 | + |
| 54 | + <img alt="MS Entra email claim edit" src={useBaseUrl('img/sso-entra-email-claim-edit.png')} /> |
| 55 | + |
| 56 | +- Repeat the same change for `givenname`, changing **Name** to `first_name` and for `surname`, changing **Name** to `last_name`. Remember to clear **Namespace** input |
| 57 | + |
| 58 | + <img alt="MS Entra claims edited" src={useBaseUrl('img/sso-entra-claims-edited.png')} /> |
| 59 | + |
| 60 | +- Go to **Users and groups** to give access to Plausible to relevant users |
| 61 | + |
| 62 | + <img alt="MS Entra users groups" src={useBaseUrl('img/sso-entra-users-groups.png')} /> |
| 63 | + |
| 64 | +- Go back to "**Single sign-on**" and keep this page open while moving on to [Finishing SAML SSO Setup in Plausible](sso#finishing-saml-sso-setup-in-plausible) |
| 65 | + |
| 66 | + <img alt="MS Entra app details" src={useBaseUrl('img/sso-entra-app-details.png')} /> |
| 67 | + |
0 commit comments