Using the SDK in a .NET Blazor WebApp #2862
Unanswered
purplepiranha
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm developing a product that will have a user login via their Microsoft Entra work account and then retrieve details about their organization.
It's a .NET 9 Blazor WebApp and the calls will be performed server side.
The only examples in Blazor a .NET Blazor WebApp that I've found use Microsoft.Identity.Web.DownstreamApi to call Graph. This works well, but I then have to create objects to map the response to.
It seems to me like this SDK should do that for me but I'm stuck at the 'Create a Microsoft Graph client object with an authentication provider' stage. The documentation states:
Where do I get this
IAuthenticationProvider
from?There seems to me to be a lack of real world examples of how to use the SDK. Maybe I'm just looking in the wrong places.
Beta Was this translation helpful? Give feedback.
All reactions