Microsoft Graph PowerShell v2 is now in public preview


Microsoft in the present day introduced that its Graph Powershell SDK v2 is now obtainable in public preview. With this, customers achieve entry to a number of new options.
Amongst these options is the flexibility to put in writing extra strong scripts which are each much less susceptible to errors and fewer ambiguous. V2 permits customers to mix each manufacturing and preview in any essential script, utilizing v1.0 at any time when doable and beta solely when it’s wanted.
Subsequent, customers are enabled to decide on between Microsoft.Graph module, for working with solely steady APIs, or Microsoft.Graph.Beta module, to work with APIs which are nonetheless being labored on and in preview.
In response to the corporate, customers can even be capable of additional enhance scripts by solely putting in the particular modules their scripts will use as a substitute of the entire SDK.
Moreover, v2 gives new authentication strategies so the person can determine which is finest fitted to their particular use case. These authentication flows embrace managed identification, shopper secret credentials, setting variables-based authorization, and certificates credentials.
Customers may also unlock situations with success standing code vary help (2xx) as a way to permit all 2xx responses to be handled as profitable requests. With this, it’s doable to achieve info from the response physique to make use of additional within the script.
Lastly, v2 supplies customers with a migration device for scripts from customers of v1. This device will solely turn into obtainable when v2 reaches normal availability.
To check out the brand new model, go to the web site. For extra info, click on right here.