Skip to content

Instantly share code, notes, and snippets.

Created November 18, 2021 21:02
What would you like to do?
ms graph go beta sdk
import (
azidentity ""
a ""
// this line imports the v1.0 SDK
msgraphsdk ""
// this line imports the beta SDK
msgraphbetasdk ""
// … creation of the credentials, authentication provider and request adapter omitted for brievety
// creates a client for the v1.0 API
client := msgraphsdk.NewGraphServiceClient(adapter)
// creates a client for the beta API
betaclient := msgraphbetasdk.NewGraphServiceClient(adapter)
// use the clients as needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment