PieterVerlooij

Results 6 comments of PieterVerlooij

Hi, Sorry for the late reply. I am running the following commands: ``` $1 = Get-MgDeviceManagementDeviceCompliancePolicy $2 = $1[0] $assignmentParams = @{ '@odata.type' = '#microsoft.graph.deviceCompliancePolicyAssignment' target = @{ '@odata.type' =...

Same goes for the Beta version: ``` $1 = Get-MgBetaDeviceManagementDeviceCompliancePolicy in pwsh at 11:07:59 $2 = $1[3] $assignmentParams = @{ '@odata.type' = '#microsoft.graph.deviceCompliancePolicyAssignment' target = @{ '@odata.type' = 'microsoft.graph.configurationManagerCollectionAssignmentTarget' collectionId...

As for the v1.0 version: ``` DEBUG: [CmdletBeginProcessing]: - New-MgDeviceManagementDeviceCompliancePolicyAssignment begin processing with parameterSet 'Create'. DEBUG: [Authentication]: - AuthType: 'AppOnly', TokenCredentialType: 'ClientSecret', ContextScope: 'Process', AppName: 'pda-intune-iac-testing'. DEBUG: [Authentication]: - Scopes:...

Same goes for **New-MgBetaDeviceManagementDeviceConfigurationAssignment** DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: POST Absolute Uri: https://graph.microsoft.com/beta/deviceManagement/configurationPolicies/af5e4162-eb12-4c52-ba90-595d231d6579/assignments Headers: FeatureFlag : 00000003 Cache-Control : no-store, no-cache User-Agent : Mozilla/5.0,(Windows NT 10.0; Microsoft Windows...

And same goes for New-MgBetaDeviceManagementDeviceCompliancePolicyAssignment DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: POST Absolute Uri: https://graph.microsoft.com/beta/deviceManagement/deviceCompliancePolicies/7eff9a97-f74a-45d8-b90a-fb645ac34fd9/assignments Headers: FeatureFlag : 00000003 Cache-Control : no-store, no-cache User-Agent : Mozilla/5.0,(Windows NT 10.0; Microsoft...

Same goes for v1.0 New-MgDeviceManagementDeviceCompliancePolicyAssignment EBUG: ============================ HTTP REQUEST ============================ HTTP Method: POST Absolute Uri: https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies/7eff9a97-f74a-45d8-b90a-fb645ac34fd9/assignments Headers: FeatureFlag : 00000003 Cache-Control : no-store, no-cache User-Agent : Mozilla/5.0,(Windows NT 10.0; Microsoft...