Microsoft at present introduced that its Graph Powershell SDK v2 is now accessible in public preview. With this, customers acquire entry to a number of new options.
Amongst these options is the power to jot down extra strong scripts which are each much less liable to errors and fewer ambiguous. V2 permits customers to mix each manufacturing and preview in any obligatory script, utilizing v1.0 every time potential and beta solely when it’s wanted.
Subsequent, customers are enabled to decide on between Microsoft.Graph module, for working with solely secure APIs, or Microsoft.Graph.Beta module, to work with APIs which are nonetheless being labored on and in preview.
In line with 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 consumer can resolve which is greatest fitted to their particular use case. These authentication flows embrace managed id, shopper secret credentials, surroundings variables-based authorization, and certificates credentials.
Customers also can unlock situations with success standing code vary help (2xx) with the intention to permit all 2xx responses to be handled as profitable requests. With this, it’s potential to achieve info from the response physique to make use of additional within the script.
Lastly, v2 gives customers with a migration device for scripts from customers of v1. This device will solely change into accessible when v2 reaches normal availability.
To check out the brand new model, go to the web site. For extra info, click on right here.