Mike Poulson

Results 21 issues of Mike Poulson

### Description of the issue IntunePolicySets.Set-TargetResource call to Invoke-MgGraphRequest use 2 hard coded graph.microsoft.com endpoint which results in failure with EntraID Government tenants. Correct call should use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl for the...

### Description of the issue IntuneDeviceEnrollmentStatusPageWindows10.Set-TargetResource call to Invoke-MgGraphRequest use a hard coded graph.microsoft.com endpoint which results in failure with EntraID Government tenants. Correct call should use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl for the...

### Description of the issue IntuneAccountProtectionPolicy.Set-TargetResource call to Invoke-MgGraphRequest use a hard coded graph.microsoft.com endpoint which results in failure with EntraID Government tenants. Correct call should use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl for the...

### Description of the issue AADConditionalAccessPolicy.Set-TargetResource call to Invoke-MgGraphRequest use 2 hard coded graph.microsoft.com endpoint which results in failure with EntraID Government tenants. Correct call should use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl for the...

### Description of the issue AADAdminConsentRequestPolicy.Set-TargetResource call to Invoke-MgGraphRequest use 1 hard coded graph.microsoft.com endpoint which results in failure with EntraID Government tenants. Correct call should use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl for the...

### Description of the issue AADNamedLocationPolicy.Set-TargetResource call to Invoke-MgGraphRequest use 2x hard coded graph.microsoft.com endpoint which results in failure with EntraID Government tenants. Correct call should use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl for the...

AADApplication.Get-TargetResource call to Invoke-MgGraphRequest use a hard coded graph.microsoft.com endpoint which results in failure with EntraID Government tenants. Correct call should use $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl for the graph hostname. onPremisesPublishing FYI: All...

### Description of the issue AADServicePrincipal.Get-TargetResource call to Invoke-MgGraphRequest use a hard coded graph.microsoft.com endpoint in a number of locations which results in failure with EntraID Government tenants. Correct call...

Update-IntuneDeviceConfigurationPolicy function call to Invoke-MgGraphRequest has hardcoded URL to commercial endpoint which breaks support for Intune Government Correction should be something like this. $Uri = $Global:MSCloudLoginConnectionProfile.MicrosoftGraph.ResourceUrl + "beta/deviceManagement/configurationPolicies/$DeviceConfigurationPolicyId" FYI: All...

### Description of the issue MSFT_AADGroupsSettings.psm1 (Line 141) attempts to convert a null value for to Boolean ( [Boolean]::Parse($valueNewUnifiedGroupWritebackDefault.Value)) which throws an exception. This value does not exist in all...