-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
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
IntuneDeviceEnrollmentPlatformRestriction not applying any configuration despite showing as successful #2347
Comments
Could you share the verbose log of your pipeline? |
Configuration Job verbose log.txt Logs as requested, thanks |
I reviewed the verbose log and was not able to see any error messages there. Could you do an update to the latest Version of M365DSC to verify, if this might be an issue with the Graph PowerShell Modules used? |
Working on this issue - Tested and can see the resource running Set-TargetResource but not updating the Intune policy |
This is gonna be a breaking change as the current resource is using v1.0 and Intune is now using the Beta |
@William-Francillette Is there any chance to provide a fix without a breaking change? We just had the breaking change release and the next one is going to be in April... |
Morning @andikrueger |
Both PR pushed The breaking change resource uses the beta API and supports all features of the policy |
Details of the scenario you tried and the problem that is occurring
When running a .ps1 file in a pipeline with the IntuneDeviceEnrollmentPlatformRestriction resource, all jobs complete successfully with no errors but the changes do not take affect within the tenant it is being ran against.
I have followed the example found here and amended Android, iOS and Windows mobile devices to be blocked. Also Windows Personal Device Enrollment Blocked.
These are currently set as allow within the tenant, but I don't see anything change once the pipeline has been 'successfully' ran.
Other configurations have successfully ran against the tenant, so I know that the pipeline can successfully connect.
I have taken a manual approach and successfully applied the configuration through both MS Graph and PowerShell using Update-MgDeviceManagementDeviceEnrollmentConfiguration
Verbose logs showing the problem
N/A
Suggested solution to the issue
Is it possible that this way of doing things is no longer valid and there is now a new way to deploy the code?
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Microsoft365 DSC - IntuneDeviceEnrollmentPlatformRestriction
insert configuration here
Configuration ConfigureMicrosoft365
{
}
The operating system the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)
Microsoft365DSC = '1.22.921.1'
Appreciate any help I can get on this,
Cheers
The text was updated successfully, but these errors were encountered: