Company sign-in with Microsoft Entra ID
The steps in Microsoft Entra ID to let your people sign in to the CRM with their Microsoft work account: an enterprise app for us, our two values, and its metadata address back to us.
These are the steps in Microsoft Entra ID (formerly Azure AD), done by someone at your company who looks after it: a Cloud Application Administrator or Application Administrator. Verify your domain on the Company sign-in page first (see Company sign-in); our two values are shown there once a domain is verified.
Make an app for us in Entra
- Sign in to the Microsoft Entra admin center (entra.microsoft.com).
- Go to Entra ID, then Enterprise apps, then All applications, and choose "New application".
- Choose "Create your own application", name it (for example Profit on Purpose CRM), choose "Integrate any other application you don't find in the gallery (Non-gallery)", and choose "Create".
Give it our values
- In the app, under Manage, choose "Single sign-on", then "SAML".
- In "Basic SAML Configuration", choose "Edit".
- In "Identifier (Entity ID)", paste the Entity ID from our Company sign-in page.
- In "Reply URL (Assertion Consumer Service URL)", paste our Reply address.
- Save.
Entra sends the person's email address as standard, which is what we need.
Give us its metadata
In the same page's "SAML Certificates" section, copy the "App Federation Metadata Url". On our Company sign-in page, open Connect your provider, choose Microsoft Entra ID, paste the address into the metadata address, and click Save the provider.
Choose who may use it
In the Entra app, under Manage, choose "Users and groups" and add the people or groups who should sign in to the CRM. People not added there are refused by Entra.
Test it
Back on our Company sign-in page, click Test sign-in and sign in as someone you added. Your own session stays as it is; the page then says whom Entra signed in.
Let Entra manage your members (SCIM)
With SCIM, the people you assign to the app in Entra are added to your workspace, changed when you change them in Entra, and suspended when you disable them or take them off the app. Make the SCIM token first, on our Company sign-in page under Members from your provider (SCIM).
- In the Microsoft Entra admin center, go to "Entra ID", then "Enterprise apps", and open the app you made for us.
- Select "Provisioning" in the left panel, then "New configuration".
- In "Tenant URL", paste our SCIM address from the Company sign-in page. In "Secret Token", paste the SCIM token.
- Select "Test Connection". When it succeeds, select "Create".
- On "Users and groups", assign the people who should be in your workspace, if they are not already, and any groups you want as teams in the CRM.
- Under "Attribute mapping", leave the user and group mappings as they are; we use the user principal name as the email address. To keep your groups out of the CRM, disable the group mapping.
- Select "Start provisioning". Entra runs every 40 minutes; "Provision on demand" adds someone straight away.
People Entra adds join as members, with the CRM role you chose on our page, at their first company sign-in. A company sign-in has to finish within two minutes of choosing Sign in with your company. Entra's first-time steps, such as setting a password and a passkey, can take longer; if they do, the person is told so and chooses Sign in with your company again, which then goes straight through. Telling people this when you add them saves them asking. Disabling someone in Entra suspends them here; enabling them restores them.
Each group assigned to the app is a team in the CRM with the same name, or takes over a team you already have with that name. The people in the group follow it into and out of the team. On our Company sign-in page, under Groups from your provider, you can give a group a CRM role, so everyone in it has that role. Taking a group off the app leaves its team as it is, and you can then delete it in the CRM if you no longer want it.
If something is not right
- If saving says the sign-in service did not accept it, the metadata address was not copied whole, or is not the app's own. Copy the "App Federation Metadata Url" again.
- If Entra refuses the person at the test, they are not added to the app: add them under "Users and groups".
- If the test says it came back through a different sign-in, the person was already signed in to the CRM another way in that browser window; try again in a private window.
- If the test comes back saying it did not complete, check the app sends the email address: in "Attributes & Claims", the email address claim should be the user's mail.
Related
- Company sign-in: your company's domainsAdd your work email's domain and prove it is yours with a DNS record, connect the provider your company signs in with, such as Microsoft Entra ID, Okta or Google Workspace, and test it. Then require it, exempt the members who keep another way in, and choose whether new people join automatically.
- Company sign-in with OktaThe steps in Okta to let your people sign in to the CRM with their Okta account: a SAML 2.0 app integration for us, our two values, and its metadata address back to us.
- Company sign-in with Google WorkspaceThe steps in the Google Admin console to let your people sign in to the CRM with their Google work account: a custom SAML app for us, its metadata file, and our two values.