damienbod / AspNetCoreBlazorMicrosoftGraph

ASP.NET Core Blazor with Microsoft Graph
https://damienbod.com/2021/12/20/use-calendar-mailbox-settings-and-teams-presence-in-asp-net-core-hosted-blazor-wasm-with-microsoft-graph/
MIT License
22 stars 6 forks source link
aspnet-core azuread blazor graph microsoft-graph microsoft-identity oauth oauth2 office oidc

.NET

ASP.NET Core Blazor with Microsoft Graph samples

User Calendar

Blogs

Use calendar, mailbox settings and Teams presence in ASP.NET Core hosted Blazor WASM with Microsoft Graph

History

Email client

The Azure App registration requires the Graph API delegated Mail.Send and the Mail.ReadWrite scopes.

"User.read Mail.Send Mail.ReadWrite"

Presence client

The Azure App registration requires the Graph API delegated User.Read.All and Presence.Read.All scope.

"User.read User.Read.All Presence.Read.All"

User Mailbox settings client

The Azure App registration requires the Graph API application User.Read.All MailboxSettings.Read scopes.

"User.read User.Read.All MailboxSettings.Read"

Calendar client

The Azure App registration requires the Graph API application User.Read.All Calendars.Read Calendars.Read.Shared scopes.

 "User.read User.Read.All Calendars.Read Calendars.Read.Shared"

Teams client

Requires the delegated OnlineMeetings.ReadWrite permission

 "OnlineMeetings.ReadWrite"

Links

https://blazorise.com/

https://github.com/AzureAD/microsoft-identity-web

https://docs.microsoft.com/en-us/graph/api/user-get-mailboxsettings

https://docs.microsoft.com/en-us/graph/api/presence-get

https://docs.microsoft.com/en-us/aspnet/core/blazor/security/content-security-policy

https://github.com/andrewlock/NetEscapades.AspNetCore.SecurityHeaders