Error: Access Denied – Caller should have a valid Entra role
This error means the account making the request is not assigned any valid role in Microsoft Entra ID (formerly Azure AD) within the customer tenant — often due to GDAP misconfiguration.
Cause: The Sync 365 delegated admin account is not assigned via a GDAP relationship with sufficient permissions.
Fix the GDAP relationship as follows:
Full step-by-step guide: Checking your GDAP relationship
Changes usually take effect within ~30 minutes after group updates.