Forum Discussion
Get Azure Joined Device Information using PowerShell
bjcls again thank you very much..... it's obvious I'm new to using graph.
Should i run "Update-MSGraphEnvironment -SchemaVersion 'beta'" after I run Connect-MSGraph? Also, will this update command make any changes to my Tenant?
Thank You,
-Larry
EntilZha You can switch between v1.0 and beta without any issues and it doesn't matter when you run the command. After you ran the command, you get a message telling you to run the: Connect-MSGraph: "WARNING: Call the 'Connect-MSGraph' cmdlet to use the updated environment parameters."
Switching to 'beta' has no impact on your tenant, it just switches to the beta version of Graph API where you have more options: https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0#other-api-versions
Also check out this website from TheLazyAdministrator: https://www.thelazyadministrator.com/2019/07/22/connect-and-navigate-the-microsoft-graph-api-with-powershell/ It helped me a lot on how to connect to Graph API using powershell, that way you have even more options 😉