Skip to main content

Microsoft 365 Troubleshooting

Use this article when a Microsoft 365 connection cannot be completed, users are missing or duplicated after a sync, or sign-in and identity matching do not behave as expected.

If the Microsoft 365 connection cannot be created, reconnected, or remains in a failed state:

  1. Confirm that Microsoft 365 is the correct connector for Microsoft Entra ID/Azure AD.

  2. Verify that the administrator has the required Microsoft 365 and Drata permissions.

  3. Confirm that the administrator’s email domain matches the domain used during the initial Drata setup.

  4. Review the connection’s Setup Details, including the selected identity-mapping option and group Object ID.

  5. If group scoping is enabled, confirm that the Object ID belongs to a Microsoft 365 group and that the Drata administrator is a direct member.

  6. Sign out of Drata and all Microsoft/Azure sessions, then retry in a private or incognito browser window.

  7. If the connection remains failed or shows Misconfigured, contact Support rather than repeatedly deleting and recreating the connection.

“Microsoft 365” is the correct connection label

Drata uses the Microsoft 365 connection to connect to Microsoft Entra ID/Azure AD. If you are looking for an “Entra ID” or “Azure AD” connector and do not see one, select Microsoft 365 instead.

A separate Enterprise SSO setup is not required for the initial Microsoft 365 connection

The Microsoft 365 IdP connection handles sign-in through Microsoft 365. A separate Enterprise SSO configuration is only needed for a different post-setup use case, such as publishing Drata as an Enterprise Application for employees to see.

Extended recovery when admin approval repeats

If personnel see “Approval required” when signing in, refer to the Microsoft 365 Integration Guide for organization-wide consent instructions.

If the consent prompt continues to appear after organization-wide consent has been granted, have the administrator:

  1. Sign in to portal.azure.com with a Global Administrator or Application Administrator account.

  2. Go to Enterprise Applications → Drata → Properties.

  3. Select Delete and confirm.

  4. Sign out of all Azure/Microsoft sessions.

  5. In Drata, refresh or edit the Microsoft 365 connection, then reconnect it.

  6. Sign out of Drata.

  7. Sign back in to Drata with the administrator account.

  8. When the consent screen appears, select Consent on behalf of your organization, then select Accept.

  9. In portal.azure.com, go to Enterprise Applications → Drata → Permissions.

  10. Under the Admin Consent view, verify that User.Read appears as a Delegated permission.

  11. Sign out of all Azure/Microsoft sessions and repeat the consent action if Microsoft presents the consent screen again.

If the consent screen still does not appear, stop and contact Support. Avoid repeatedly deleting and recreating the connection without first recording the current group scope and identity-mapping settings.


When Group Sync Is Configured: Missing Users, Login Issues, or Unexpected Users Syncing

Verify users missing from the selected group

If expected users are not appearing in Drata, verify that they are direct members of the Microsoft 365 group configured for sync:

  1. In Drata, open Connections → Microsoft 365 → Setup Details and review the Only people from specific groups field.

  2. Confirm that the configured Group Object ID matches the intended Microsoft 365 group.

  3. In Microsoft Entra, verify that each missing user is a direct member of that group. Nested or indirect members are not recognized.

  4. Confirm that the user’s account is enabled and that the group’s membership rule is recalculating correctly.

  5. Run or wait for the next autopilot sync, then verify whether the user appears in Drata.

Users do not match the expected Drata personnel records

Microsoft 365 can use either UPN or Email Address for identity mapping.

  • UPN (User Principal Name): The default and usually the most stable identifier.

  • Email Address: Can be preferable when the organization uses vanity email addresses or multiple domains.

To change the mapping:

  1. In Drata, go to Connections.

  2. Select your Microsoft 365 connection and edit the setup details.

  3. Update the User Identity Mapping field to either UPN or Email Address.

  4. Save your changes to apply the updated mapping.

Note: Before changing the mapping, record the current setting and confirm the intended value with the customer. A mapping change can change which existing personnel records are matched.

Personnel stop changing after an Entra group-rule change

Microsoft announced the retirement of the memberOf operator in Entra dynamic-group rules. Dynamic groups that still use this operator can stop recalculating, leaving current membership in place while subsequent joins or removals are not reflected.

If new hires have stopped appearing after a group-rule change, review the affected Entra dynamic group and confirm that its membership rule is supported and recalculating. Validate the replacement rule and timing with Microsoft documentation or the customer’s identity administrator before making changes.

When to contact Support

If the issue persists after completing the troubleshooting steps, contact Support and provide:

  • One or more affected user examples, without credentials or secrets.

  • Selected group object ID and a screenshot of the configured group scope, if applicable.

  • Exact error message, timestamp, and affected workflow.

  • Redacted screenshots or screen recordings showing the issue.

  • Whether the issue affects setup, sync, login, access reviews, or MFA.

  • Any recent changes to the Microsoft 365 group, Entra rule, permissions, or connection.

Did this answer your question?