Skip to content

Commit

Permalink
Draft Intune DSC Derived Credential
Browse files Browse the repository at this point in the history
  • Loading branch information
Kajalp1079 committed Oct 6, 2024
1 parent 169384c commit 0bc1292
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 64 deletions.
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
// -----------
// {}
// {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Get-TargetResource
$ThresholdPercentage,

[Parameter()]
[System.String]
[System.Collections.IDictionary]
$Header
)

Expand Down Expand Up @@ -139,7 +139,7 @@ function Set-TargetResource
$ThresholdPercentage,

[Parameter()]
[System.String]
[System.Collections.IDictionary]
$Header
)

Expand Down Expand Up @@ -209,7 +209,7 @@ function Test-TargetResource
$ThresholdPercentage,

[Parameter()]
[System.String]
[System.Collections.IDictionary]
$Header
)

Expand Down
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
// -----------
// {}
// {}

0 comments on commit 0bc1292

Please sign in to comment.