GetClient

GetClient (1 of 2)

Initializes a new instance of the GraphClient based class

Returns: Returns IGraphClient object

GetClient(System::SharedPtr < IMultipleServicesTokenProvider > tokenProvider, System::String tenantId)
ParameterDescription
tokenProviderToken provider allows to retrieve OAuth access token
tenantIdA tenant is representation of an organization. It’s a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365.

GetClient (2 of 2)

Initializes a new instance of the GraphClient based class

Returns: Returns IGraphClient object

GetClient(System::SharedPtr < ITokenProvider > tokenProvider, System::String tenantId)
ParameterDescription
tokenProviderToken provider allows to retrieve OAuth access token
tenantIdA tenant is representation of an organization. It’s a dedicated instance of Azure AD that an organization or app developer receives when the organization or app developer, creates a relationship with Microsoft like signing up for Azure, Microsoft Intune, or Microsoft 365.