-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
169384c
commit 0bc1292
Showing
3 changed files
with
66 additions
and
64 deletions.
There are no files selected for viewing
64 changes: 29 additions & 35 deletions
64
Modules/Microsoft365DSC/DSCResources/MSFT_EXOMessageClassification/settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,34 @@ | ||
{ | ||
"resourceName": "IntuneDerivedCredential", | ||
"description": "Use this resource to create new navigation property to derivedCredentials for deviceManagement", | ||
// "roles": { | ||
// "read": [ | ||
// "Global Reader" | ||
// ], | ||
// "update": [ | ||
// "Intune Administrator" | ||
// ] | ||
// }, | ||
|
||
"resourceName": "EXOMessageClassification", | ||
"description": "", | ||
"roles": { | ||
"read": [ | ||
"Global Reader" | ||
], | ||
"update": [ | ||
"Exchange Administrator" | ||
] | ||
}, | ||
"permissions": { | ||
"graph": { | ||
"delegated": { | ||
"read": [ | ||
"DeviceManagementConfiguration.Read.All" | ||
], | ||
"update": [ | ||
"DeviceManagementConfiguration.ReadWrite.All" | ||
] | ||
"graph": { | ||
"delegated": { | ||
"read": [], | ||
"update": [] | ||
}, | ||
"application": { | ||
"read": [], | ||
"update": [] | ||
} | ||
}, | ||
"application": { | ||
"read": [ | ||
"DeviceManagementConfiguration.Read.All" | ||
], | ||
"update": [ | ||
"DeviceManagementConfiguration.ReadWrite.All" | ||
] | ||
"exchange": { | ||
"requiredroles": [ | ||
"User Options", | ||
"Data Loss Prevention", | ||
"Transport Rules", | ||
"View-Only Configuration", | ||
"Mail Recipients" | ||
], | ||
"requiredrolegroups": "Organization Management" | ||
} | ||
} | ||
} | ||
} | ||
|
||
// PS C:\Windows\system32> Find-MgGraphCommand -Command “Get-MgBetaDeviceManagementDerivedCredential” | select Permissions | ||
// OUTPUT: | ||
// Permissions | ||
// ----------- | ||
// {} | ||
// {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 34 additions & 26 deletions
60
Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDerivedCredential/settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,40 @@ | ||
{ | ||
"resourceName": "IntuneDerivedCredential", | ||
"description": "Use this resource to create new navigation property to derivedCredentials for deviceManagement", | ||
"roles": { | ||
"read": [ | ||
"Role" | ||
], | ||
"update": [ | ||
"Role" | ||
] | ||
}, | ||
// "roles": { | ||
// "read": [ | ||
// "Global Reader" | ||
// ], | ||
// "update": [ | ||
// "Intune Administrator" | ||
// ] | ||
// }, | ||
|
||
"permissions": { | ||
"graph": { | ||
"delegated": { | ||
"read": [], | ||
"update": [] | ||
}, | ||
"application": { | ||
"read": [ | ||
{ | ||
"name": "Permission for Monitoring and Export" | ||
} | ||
], | ||
"update": [ | ||
{ | ||
"name": "Permission for deploying" | ||
} | ||
] | ||
} | ||
"graph": { | ||
"delegated": { | ||
"read": [ | ||
"DeviceManagementConfiguration.Read.All" | ||
], | ||
"update": [ | ||
"DeviceManagementConfiguration.ReadWrite.All" | ||
] | ||
}, | ||
"application": { | ||
"read": [ | ||
"DeviceManagementConfiguration.Read.All" | ||
], | ||
"update": [ | ||
"DeviceManagementConfiguration.ReadWrite.All" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
// PS C:\Windows\system32> Find-MgGraphCommand -Command “Get-MgBetaDeviceManagementDerivedCredential” | select Permissions | ||
// OUTPUT: | ||
// Permissions | ||
// ----------- | ||
// {} | ||
// {} |