Which authentication library is used by Microsoft Graph .NET Client Library

Saiyam 2 Reputation points
2022-02-09T10:57:43.183+00:00

I have .NET desktop application which is refrenced to Microsoft.Graph.dll (version = 1.21.0) and Microsoft.Graph.core.dll (version = 1.19.0).

With ADAL scheduled to be retired June 2021, I am curious to know if these vesion of library are using ADAL or something else internally?

And, if and what minimum version they should be upgraded, to avoid usage of ADAL?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,522 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rob Windsor 1,956 Reputation points
    2022-02-09T11:03:57.97+00:00

    "The Microsoft Graph .NET Client Library doesn't implement any authentication by default. Instead, you will need to retrieve access tokens for the service via the authentication library of your choice or by coding against one of the authentication endpoints directly."

    https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/docs/overview.md

    "The recommended library for authenticating against Microsoft Identity (Azure AD) is MSAL."

    https://github.com/microsoftgraph/msgraph-sdk-dotnet

    172450-image.png

    172583-image.png

    0 comments No comments