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.
MIT License
1.36k
stars
657
forks
source link
Need to run Update-MSGraphEnvironment every new PS session #273
Not sure if it was a missed step, unclear instructions, or intentional, but every time I start a new PS session and run connect-msgraph, I need to run "Update-MSGraphEnvironment -appid xxxxxxxxxxxxxx" every time before connecting, and then it works as intended. Surely I don't have to update it everytime? How can I permanently update it?
Not sure if it was a missed step, unclear instructions, or intentional, but every time I start a new PS session and run connect-msgraph, I need to run "Update-MSGraphEnvironment -appid xxxxxxxxxxxxxx" every time before connecting, and then it works as intended. Surely I don't have to update it everytime? How can I permanently update it?