MS Graph API
13 TopicsMs Graph API: Set "Busy - In a call" does not cause new calls to be rejected
Hi everybody, Although I set the Presence State to “Busy – InACall”, new incoming calls are not rejected. And yes, Busy on Busy (Busy Options) is activated. So if I have a real Teams call a new incoming call is rejected. Any idea why setting“Busy – InACall” via Graph API doesnot cause new calls to be rejected? Regards Gerd192Views0likes6CommentsUsing Graph API to create a OneNote tab in a Teams Channel
Hello, I'm trying to create a new tab in an existing channel that opens a OneNote notebook using Graph API. According to official documentation (https://learn.microsoft.com/en-us/graph/api/channel-post-tabs?view=graph-rest-1.0&tabs=http), the call should look like this: POST https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/tabs { "displayName": "OneNote", "email address removed for privacy reasons" : "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/0d820ecd-def2-4297-adad-78056cde7c78", "configuration": { "entityId": "<Notebook_id>", "contentUrl": "<OneNote_notebook_url>", "websiteUrl": "<OneNote_notebook_url>" } } It worked smoothly, but since recently, when you open the tab in Teams (desktop or web), it shows an error message stating that "the application can't be reached". In the end, the tab is created but OneNote notebook is not opened. Reading the official documentation here:https://learn.microsoft.com/en-us/graph/teams-configuring-builtin-tabs#onenote-tabsit mentions that when creating OneNote tabs, "configuration is not supported". Does this mean now you can't specify the OneNote notebook to open in the tab using Graph API? Any suggestions or recommendations? Thanks in advance! FerranSolved1.1KViews0likes10CommentsBookings created via Graph API
So I have an interesting problem. We are using Graph to create a bookings appointment in a bookings business within our org. When we use Graph the email that gets sent to the customer does not have a link to cancel/reschedule. However if you book an appointment using the bookings page the ensuing confirmation email will have the link. I check the appointments after they are created and only the one created via the bookings page have 'Let customer manage the appointment' checked. The ones created via the API do not. The services have it defaulted to allow for customers to cancel and reschedule. Is there something that we need to pass through graph when we are creating the appointment that specifically will turn this on? Really need the customers to have that link in the confirmation email.961Views0likes0CommentsSPFx webparts not able to acquire token for Graph API in Teams app (Viva Connections)
Hi all, There is a very strange thing happening to a few webparts that we've build for one of our clients. We haven't seen this problem in other tenants, it seems to be related to this specific tenant. Maybe it's a setting, or maybe it's a bug. Hopefully someone can help us. This is the case: We have created a SharePoint intranet site and made it the root site. We then added the site to the Viva Connections integration in Teams, as an app. On this site we have a couple of custom webparts that we created. One of the webparts have been used in many intranet sites and haven't had these problems so far. The problem also isn't occurring on SharePoint itself. The problem is connecting to the Graph API, the token doesn't seem to be retrieved and thus the API requests are not even send to the Graph API. Environment details: Microsoft Egde version 115.0.1901.183 (Official build) (64-bit) SPFx 1.17.4 Node 16.15.1 NPM 8.11.0 The error I'm getting: Uncaught (in promise) Error: Token request previously failed at new t (chunk.aadTokenProvider_en-us_445a72773ba77a61be93.js:1:1514) at e._getTokenInternal (chunk.aadTokenProvider_en-us_445a72773ba77a61be93.js:1:3567) at e.getToken (chunk.aadTokenProvider_en-us_445a72773ba77a61be93.js:1:2372) at sp-pages-assembly_en-us_c3c628b67d521769ee27f473c0ed9543.js:76:647657 The request that might be the problem: https://tenant.sharepoint.com/_api/Microsoft.SharePoint.Internal.ClientSideComponent.Token.AcquireOBOToken?resource=%27https://graph.microsoft.com%27&clientId=%2775aff87b-45bf-41e7-84f3-552901a72ea0%27 Results in an 500 internal server error with the following message: { "odata.error": { "code": "-1, System.AggregateException", "message": { "lang": "en-US", "value": "One or more errors occurred." } } } I found this issue#7884which seems to be related to mine or at least gives the same error, but the resolution there doesn't apply here sadly. The manifest is already in the right format and with the correct data. Also cross referenced the manifest with other, working tenants At this point I have no clue on what the cause of the issue is, could any of you help me with this problem? Kind regards, ArjenSolved4KViews0likes4CommentsHow resolve 'Remote server returned '550 5.7.708 Service unavailable.' error while send an email
I am able to send mail through Graph API but it is not received by the recipient. I have added O365 licenses and given all the permissions to the application which was created in the Azure portal. An access token is generated differently for the @outlook.com domain and onmicrosoft.com.Please help!1.6KViews0likes1CommentWhat is the gap like between Sharepoint REST and Microsoft Graph APIs?
Hello, I am developing a software to keep track of changes to files and folders made on Sharepoint. I am trying to figure out what API to use. My understanding is that Microsoft is giving more focus on Microsoft Graph API. I have been doing research on the differences between them. Based on older posts, it is my understanding that you couldn't do things with Graph API that you could do with Sharepoint Rest APIs. At least that was the case in the past, and the goal was to build Graph API to a point that you use Graph API for all that. Here is a link to Microsoft 365podcast. What is the gap like now? If I want to keep track of changes to made to Sharepoint files and folders. What is the most effective way to get those events? Through Sharepoint REST or Graph API? Thank you.12KViews0likes1Comment