microsoft-graph-api

Microsoft Graph API getSchedule filter by calendars

守給你的承諾、 提交于 2021-01-07 02:46:33
问题 I'm using microsoft graph API and want to get user's busy slots for particular calendars, so there is an end point /getSchedule which takes body like : { "schedules": ["adelev@contoso.onmicrosoft.com", "meganb@contoso.onmicrosoft.com"], "startTime": { "dateTime": "2019-03-15T09:00:00", "timeZone": "Pacific Standard Time" }, "endTime": { "dateTime": "2019-03-15T18:00:00", "timeZone": "Pacific Standard Time" }, "availabilityViewInterval": "60" } In this endpoint I want to filter by calendars, I

Unable to post inline images along with the message in Microsoft Teams via Microsoft Graph API using C#

纵然是瞬间 提交于 2021-01-07 02:42:51
问题 I have been trying to post the images along with the message in Microsoft Teams via MS Graph API using C# but unable to do so. Below is the code I have tried: string userName = ConfigurationManager.AppSettings["UserName"]; string password = ConfigurationManager.AppSettings["Password"]; System.Security.SecureString passWordSecureString = new System.Security.SecureString(); foreach (char c in password.ToCharArray()) passWordSecureString.AppendChar(c); var clientId = "xxxxxxxx-xxxx-xxxx-xxxx

Blazor Webassembly Authenticated Event

心已入冬 提交于 2021-01-04 04:28:06
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

余生颓废 提交于 2021-01-04 04:27:39
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

戏子无情 提交于 2021-01-04 04:27:38
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

眉间皱痕 提交于 2021-01-04 04:27:09
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

Blazor Webassembly Authenticated Event

女生的网名这么多〃 提交于 2021-01-04 04:26:12
问题 When authenticating users with Microsoft.AspNetCore.Components.WebAssembly.Authentication, in a Blazor Webassembly application on the client side app that is hosted on ASP.NET Core (latest, blazor), when/how to call an action every time a user is authenticated? Even if they come back to the app and have an active session. Update 2020-07-15: The problem I am trying to overcome is that we have a service that goes to Graph API once a user logs in (MSAL) to get their info and profile image. After

QueryOption Search in Graph API for email address

守給你的承諾、 提交于 2021-01-01 13:51:14
问题 I would like to search in my sent folder for every email that is sent to "john.smith1@gmail.com" I tried the following List<QueryOption> queryOptions = new List<QueryOption> { new QueryOption("$search", "john.smith1@gmail.com") }; List<QueryOption> queryOptions = new List<QueryOption> { new QueryOption("$search", "john.smith1%40gmail.com") }; List<QueryOption> queryOptions = new List<QueryOption> { new QueryOption("$search", "to:john.smith1@gmail.com") }; List<QueryOption> queryOptions = new

Validating a Microsoft Graph JWT Token

十年热恋 提交于 2021-01-01 13:34:29
问题 I'm by no means an expert on MSAL/JWT/Graph authentication, but I'm hoping someone can explain this issue more clearly to me, or help me understand if there's a workaround or better approach. Essentially, there are certain scenarios where I might end up with a Microsoft Graph JWT token. Two examples I can think of easily are using the Microsoft Graph Toolkit or using Tabs SSO in Microsoft Teams. In both cases, I can get relevant identity information for the user from the JWT token I would

Validating a Microsoft Graph JWT Token

被刻印的时光 ゝ 提交于 2021-01-01 13:30:25
问题 I'm by no means an expert on MSAL/JWT/Graph authentication, but I'm hoping someone can explain this issue more clearly to me, or help me understand if there's a workaround or better approach. Essentially, there are certain scenarios where I might end up with a Microsoft Graph JWT token. Two examples I can think of easily are using the Microsoft Graph Toolkit or using Tabs SSO in Microsoft Teams. In both cases, I can get relevant identity information for the user from the JWT token I would