powershell-intune-samples
powershell-intune-samples copied to clipboard
This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell.
Hi we were using this script the last year and we notice that manufacturer data are not being recolected anymore. i have found a pattern that only happend whit Android...
Since a couple of weeks I cannot import policies using the script anymore. The error I get is: Response content: { "error": { "code": "ModelValidationFailure", "message": "Cannot create an abstract...
Hi There, Just want to first say, thanks for everything people do on here. Has been really helpful and super productive! On the Add-DeviceCompliancePolicyAssignment function you can only add in...
Hi there, When uploading huge intunewin-archives (more than 30 chunks) I get an Exception. I use this function to upload the file: `Upload-Win32Lob -SourceFile "$packagearchive" -publisher "$($textboxPublisher.Text)" -description $($textboxDescription.Text) -detectionRules...
Hi When I run the MacOS_MDATP_Deployment_Add_Assign.ps1 or Add.ps1 script, after I put in the path to the XML file I receive the error below. The configuration profiles do get applied...
Nearly identical to issue #35, but for "wipe" instead of "retire". When initiating an Intune device wipe, it shows an action of "wipe" and a status of "pending" within the...
It works exactly like Win32_Application_Add.ps1 with one exception, it needs one extra parameter appId. appId is the application id of the application that will be updated It is heavily based...
When running CompliancePolicy_Export.ps1, the resultant csv and json do not include the "Actions for noncompliance" schedule.
In Azure Portal -> Intune -> "Client Apps" -> "App protection status" there is a dashboard element that reports "Unprotected and unlicensed" users, however won't say who is. Due to...