We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to use this resource to configure Tenant settings such as:
AllowedToCreateTenants AllowedToReadBitlockerKeysForOwnedDevice
These settings are part of the DefaultUserRolePermissions.
However, while these settings are available to be set in the PowerShell SDK, they are not available to be set via this resource.
$a = Get-MgPolicyAuthorizationPolicy $a.DefaultUserRolePermissions | fl AllowedToCreateApps : True AllowedToCreateSecurityGroups : True AllowedToCreateTenants : False AllowedToReadBitlockerKeysForOwnedDevice : True AllowedToReadOtherUsers : True PermissionGrantPoliciesAssigned : {ManagePermissionGrantsForSelf.microsoft-user-default-legacy} AdditionalProperties : {}
Add the following options to be set for this resource:
Update-MgBetaPolicyAuthorizationPolicy supports updating these two settings under the DefaultUserRolePermissions.
Update-MgBetaPolicyAuthorizationPolicy
DefaultUserRolePermissions
This change would be made here: https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthorizationPolicy/MSFT_AADAuthorizationPolicy.psm1
N/A - it is not possible to set the two settings via DSC at this time.
1.23.719.1
The text was updated successfully, but these errors were encountered:
Fixes microsoft#3492
c34b50d
Merge pull request #3527 from NikCharlebois/Fixes-#3492
5c689a9
Fixes #3492
NikCharlebois
Successfully merging a pull request may close this issue.
Details of the scenario you tried and the problem that is occurring
I would like to use this resource to configure Tenant settings such as:
These settings are part of the DefaultUserRolePermissions.
However, while these settings are available to be set in the PowerShell SDK, they are not available to be set via this resource.
Verbose logs showing the problem
Suggested solution to the issue
Add the following options to be set for this resource:
Update-MgBetaPolicyAuthorizationPolicy
supports updating these two settings under theDefaultUserRolePermissions
.This change would be made here:
https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/DSCResources/MSFT_AADAuthorizationPolicy/MSFT_AADAuthorizationPolicy.psm1
The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A - it is not possible to set the two settings via DSC at this time.
The operating system the target node is running
N/A - it is not possible to set the two settings via DSC at this time.
Version of the DSC module that was used ('dev' if using current dev branch)
1.23.719.1
The text was updated successfully, but these errors were encountered: