Skip to content

Commit

Permalink
modified non compliant tests 7.4 7.5 to avoid hard coding the privile…
Browse files Browse the repository at this point in the history
…ged_roles Assignments element [0] in the array since is crashes in certain tenants (#1082)
  • Loading branch information
tkol2022 committed May 7, 2024
1 parent 7118084 commit 0a3504f
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions Testing/Functional/Products/TestPlans/aad.g5.testplan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,17 @@ TestPlan:
- Command: UpdateProviderExport
Splat:
Updates:
privileged_roles[0].Assignments[0].EndDateTime: null
privileged_roles:
- DisplayName: Global Administrator
RoleTemplateId: "62e90394-69f5-4237-9190-012177145e10"
Assignments:
- EndDateTime: "/Date(1672947244397)/"
PrincipalId: "ae71e61c-f465-4db6-8d26-5f3e52bdd800"
- DisplayName: User Administrator
RoleTemplateId: "fe930be7-5e62-47db-91af-98c3a49a38b1"
Assignments:
- EndDateTime: null
PrincipalId: "ce71e61c-f465-4db6-8d26-5f3e52bdd801"
Postconditions: []
ExpectedResult: false
- TestDescription: MS.AAD.7.4v1 Compliant case - No users with permanent assignment
Expand Down Expand Up @@ -144,7 +154,18 @@ TestPlan:
- Command: UpdateProviderExport
Splat:
Updates:
privileged_roles[0].Assignments[0].StartDateTime: null
privileged_roles:
- DisplayName: Global Administrator
RoleTemplateId: "62e90394-69f5-4237-9190-012177145e10"
Assignments:
- StartDateTime: "/Date(1672947244397)/"
PrincipalId: "ae71e61c-f465-4db6-8d26-5f3e52bdd800"
Rules: []
- DisplayName: User Administrator
RoleTemplateId: "fe930be7-5e62-47db-91af-98c3a49a38b1"
Assignments:
- StartDateTime: null
PrincipalId: "ce71e61c-f465-4db6-8d26-5f3e52bdd801"
Postconditions: []
ExpectedResult: false
- TestDescription: MS.AAD.7.5v1 Compliant case - No users assigned outside of PIM
Expand Down

0 comments on commit 0a3504f

Please sign in to comment.