Forum Discussion
Microsoft Intune Management - Connect securely to Intune with Microsoft Graph and PowerShell!
Dear Microsoft Intune friends,
In this article I will show you how to create a "secure" connection to Microsoft Intune with Microsoft Graph and PowerShell!
Note: The certificate is created in the local certificate store and exported to the folder C:\certs. The certificate is valid for one year.
Best regards, Tom Wechsler
P.S. All scripts (#PowerShell, Azure CLI, #Terraform, #ARM) that I use can be found on GitHub! https://github.com/tomwechsler
- LosFlaCopper Contributor
Nice and Secure way to Connect.
This created self signed certificate is only valid for one device, right?
Is there a way to have a solution which can be used from multiple devices in the environment?
with this solution I have to create a self signed certificate for each device and upload the public key to the app registration. If I have e. g. 9000 devices, I have to upload 9000 public keys?
- Joe LovelessCopper Contributor
Should just be a matter of distributing the cert to your devices rather than having 9000 certs.
- RajkumarRRCopper Contributor
hope, here in this article, explained Intune management for administrative activities/operations, for limited devices (one or two). so, it's not required to have such huge devices.