Microsoft Intune Hello, I would like to use Powershell to sync Intune devices but when I launch the Connect-MSGraph command and enter the user credentials it responds with the following error message: AADSTS700016: Application with identifier d1ddf0e4-d672-4dae-b554-9d5bdfd93547 was not...
Let me preface this question by stating I may be misunderstanding how this is supposed to work. I'm writing a PowerShell script and need to be able to connect to MS Graph to use Intune Graph. I'm running the following: $authparams= @{ClientId ='appID'TenantId ='tenantID'C...
This happens to me with PowerShell 7.4.0 and Microsoft.Graph 2.10 and 2.11 on both Mac OS and Windows 10. Connecting with exactly the same values in the following way works (but requires pasting the secret): $ClientSecretCredential = Get-Credential -Credential $env:AZURE_CLIENT_ID Connect-...
Let me preface this question by stating I may be misunderstanding how this is supposed to work. I'm writing a PowerShell script and need to be able to connect to MS Graph to use Intune Graph. I'm running the following: $authparams= @{ClientId ='appID'TenantId ='tenantID'Cli...