Use the Microsoft Graph SDKs with the beta API

Many of the Microsoft Graph SDKs use the v1.0 Microsoft Graph endpoint by default. The SDKs can be used with the beta endpoint for non-production applications. The method for accessing the beta endpoint depends on which SDK you are using.


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

In order to call the beta API, you must install the Microsoft.Graph.Beta package. Usage is the same as the Microsoft.Graph package.

// Version 5.x
using Microsoft.Graph.Beta;
// Version 4.x and earlier
// using Microsoft.Graph;

// Create a new instance of GraphServiceClient.
GraphServiceClient graphClient = new GraphServiceClient(...);

See also

SDKs in preview or GA status.