Microsoft Entra ID Governance
Governance

Quickstart: Assign and test a built-in Microsoft Entra resource policy (preview)

In brief

The quickstart now explains that other assignments can affect simulated requests and that the documented response fields apply only when no other assignment changes the result. It also clarifies how to distinguish report-only violations using `details[].appliedPolicyEffects`.

What Entra admins need to know

Administrators should consider all applicable assignments when interpreting `200 OK` and `isBlocked: false` responses.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Use evaluateAssignedPolicies in Graph Explorer to compare names with and without an allowed prefix, without creating applications. The action evaluates all applicable assignments, so find enforce_application_name_prefix in details to identify this quickstart's results.

Another enforced assignment can block either simulated request, even when the name meets this policy's requirements.

The evaluation action reflects saved assignment settings without waiting for changes to propagate to real requests.

Sign in to Microsoft Graph Explorer with the same account and tenant you used in the Microsoft Entra admin center. Confirm that Graph Explorer has the delegated permissions listed in Prerequisites.

  1. Select Run query.
  2. In Response preview, inspect the evaluation result. Select Expand if you need more space.

With this report-only assignment, expect 200 OK and. If no other assignment affects the overall result, expect the following fields:

Field Value

The application name needs an allowed department prefix. Add a prefix from allowed_departments, then try again.

200 OK means the evaluation completed, not that the name is compliant. The deny effect in the matching entry identifies the violation;naming violation. This report-only assignment doesn't block the request; isBlocked: false reflects report-only mode. Other applicable assignments can affect the overall result.means no other assignment blocked it either.

Check a compliant application name

  1. Select Run query.
  2. In Response preview, find the result for enforce_application_name_prefix.

With this configuration, expect 200 OK and. If no other assignment affects the overall result, expect the following fields:

Field Value
details[].assignmentUniqueName enforce_application_name_prefix
details[].appliedPolicyEffects compliant

TheWhen all applicable assignments are compliant, the response message is:

Resource is compliant with assigned policies.

BothIf no other assignment blocks either request, both examples return isBlocked: false. Compare the policy effectsdetails[].appliedPolicyEffects for enforce_application_name_prefix to distinguish compliance from a report-only violation.

3. Clean up or continue

Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…