Identity and people

Microsoft Entra ID

Connect a SAML enterprise application in Microsoft Entra ID, formerly Azure AD.

Deployment
BYOC

An Entra administrator connects Microsoft Entra ID (formerly Azure Active Directory) to Diakrin with a SAML enterprise application. You need application-management permissions in your tenant and the setup packet.

Create the application

  1. In Microsoft Entra admin center, open Enterprise applications → New application → Create your own application.
  2. Name it Diakrin and choose to integrate an application you do not find in the gallery.
  3. Open Single sign-on → SAML and edit Basic SAML Configuration with the values below.
  4. In Attributes & Claims, edit Unique User Identifier (Name ID): format Persistent, source attribute user.objectid. Add a claim named email from user.mail.
  5. Assign pilot users or groups under Users and groups and apply your company's Conditional Access policy.

Map the fields

Entra fieldValue
Identifier (Entity ID)urn:amazon:cognito:sp:<poolId> from the setup packet
Reply URL (Assertion Consumer Service URL)https://auth.diakrin.com/saml2/idpresponse
Sign on URLhttps://app.diakrin.com
Unique User Identifier (Name ID) formatPersistent
Unique User Identifier (Name ID) sourceuser.objectid, never the UPN or email
Additional claim emailuser.mail, the work email

The object id never changes and is never reused, so a new employee who later gets the same address cannot sign in as the former one.

To use OIDC instead, register a web app with the redirect URI https://auth.diakrin.com/oauth2/idpresponse and the issuer https://login.microsoftonline.com/<tenant-id>/v2.0; see Connect with OIDC.

Activate and test

From SAML Certificates, copy App Federation Metadata Url. In Settings → Sign-in → SSO identity provider, paste the metadata URL or upload the XML, then select Verify and connect. After activation, follow Test and roll out SSO.

If it fails

SymptomCauseFix
AADSTS50011 reply URL mismatchThe Reply URL differsUse https://auth.diakrin.com/saml2/idpresponse exactly
An assigned user is blockedConditional AccessReview the application's sign-in logs; do not relax tenant-wide policy for one application
Entra succeeds but Diakrin refusesThe person is not a member of your organization yetSee Sign in and join your team

Official reference: Enable SAML single sign-on for an enterprise application ↗.

Next stepTest and roll out SSO →