Skip to content

Commit

Permalink
Updated {Update} AAD Integration Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Oct 7, 2024
1 parent bf22d09 commit 183bebe
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,35 @@
$Domain = $TenantId
Node Localhost
{
AADAdminConsentRequestPolicy 'AADAdminConsentRequestPolicy'
{
ApplicationId = $ApplicationId;
CertificateThumbprint = $CertificateThumbprint;
IsEnabled = $True;
IsSingleInstance = "Yes";
NotifyReviewers = $False;
RemindersEnabled = $True;
RequestDurationInDays = 30;
Reviewers = @(
MSFT_AADAdminConsentRequestPolicyReviewer {
ReviewerType = 'User'
ReviewerId = "AlexW@$TenantId"
}
MSFT_AADAdminConsentRequestPolicyReviewer {
ReviewerType = 'Group'
ReviewerId = 'Communications'
}
MSFT_AADAdminConsentRequestPolicyReviewer {
ReviewerType = 'Role'
ReviewerId = 'Attack Payload Author'
}
MSFT_AADAdminConsentRequestPolicyReviewer {
ReviewerType = 'Role'
ReviewerId = 'Attack Simulation Administrator'
}
);
TenantId = $TenantId;
}
AADAdministrativeUnit 'TestUnit'
{
DisplayName = 'Test-Unit'
Expand Down

0 comments on commit 183bebe

Please sign in to comment.