Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azuread_conditional_access_policy: Fix external_tenants with enumerated members #1601

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sdx-jkataja
Copy link

Fix schema validation error from Graph API when specifying external_tenants block where membership_kind = "enumerated" is specified. After the change, the API object contains the @odata.type field with the #microsoft.graph.conditionalAccessEnumeratedExternalTenants value.

Graph API Documentation: https://learn.microsoft.com/en-us/graph/api/resources/conditionalaccessenumeratedexternaltenants?view=graph-rest-1.0

Fix #1555

 - fixes schema validation error from Graph API
 - resulting object has the "@odata.type" field with
   "#microsoft.graph.conditionalAccessEnumeratedExternalTenants"

add test condition for list size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

azuread_conditional_access_policy resource with external_tenants is not accepted by Graph API
1 participant