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.
*AppConfigurationPolicy_Export.ps1* fails on lines 86 and 88. I've reinstalled the `AzureAD` module (as well as the preview module) and ensured it's latest. Both PS5 and PS7 fail in this manner....
Hi. I'm evaluating feasibility of using the Microsoft Graph APIs to develop an alternative to the "Company Portal" app with custom UI. One sub-problem to then tackle is device authentication....
Hi, i'm trying to pass simple functions through to these scripts including the tenant admin UPN (so it doesn't ask) and the JSON directory output (again so it doesn't ask)....
#L437 write-host "AAD Group:"(Get-AADGroup **-id** $Assignment.target.GroupId).displayName "- Install Intent:"$Assignment.intent fix: write-host "AAD Group:"(Get-AADGroup **-GroupID** $Assignment.target.GroupId).displayName "- Install Intent:"$Assignment.intent Was getting errors and simply changing it to -GroupID fixed it for...
Hello! I get this error, after set the login email: `Ausnahme beim Aufrufen von "LoadFrom" mit 1 Argument(en): "Die Datei oder Assembly "file:///C:\Program Files\WindowsPowerShell\Modules\AzureAD\2.0.2.180\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" oder eine Abhängigkeit davon wurde nicht...
Can this script be updated to reflect the new Intune Certificate Connector software? The current script has been extremely useful in the past but is looking for the "NDES Connector"...
The `deviceActionResults` response field is not populated for a specific non-compliant device if queried via the `GET /deviceManagement/managedDevices` api as documented at https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-list?view=graph-rest-1.0 The Device Action Results are visible in...
How will this libary be mantained after the deprication? Azure AD PowerShell is planned for deprecation https://learn.microsoft.com/en-us/powershell/module/azuread/?view=azureadps-2.0 > Update: Update December 15th, 2022: ADAL end of support is now extended...
I don't have a tremendous amount of experience with this sort of stuff, but after digging around for a few hours I was not able to find anyone with a...
Updated the import path + added a wait at the end. - I was facing issues with the script prompting me to specify the file path. To troubleshoot, also a...