graphapi
7 TopicsCreate event sometimes returns 201 but no Teams meeting link
Hello, I am creating calendar events through Microsoft Graph and setting them as Teams online meetings. Most of the time it works correctly, but very rarely the API returns 201 Created and the event is created without the Teams join link in the response. I have already checked the following: isOnlineMeeting is always set to true. The correct online meeting provider is being used. The issue is intermittent, not consistent. The same integration normally creates Teams meetings successfully. What I need to understand is: Why can Graph return 201 Created but still omit the Teams meeting link? Is this a known intermittent issue with event creation or Teams meeting provisioning? Is there anything I should check in the response, headers, permissions, or follow-up GET call to verify the meeting link was actually created50Views0likes1CommentMS Graph API - MS Teams channel last updated/last message
Hi, we want to do a report of all our Teams and Channels. With that it would be nice to get when it was lastly updated/used so we could do some cleanup afterwards. Via Powershell and also GraphaAPI check i know that channels do not save data of when they have been lastly updated, the only chance I have is to use GraphAPI and check messages for similar data. This call https://graph.microsoft.com/v1.0/teams/%7Bteam-id%7D/channels/%7Bchannel-id%7D/messages should help me out BUT it always returns with 403. I have all needed permissions consented (as I am global admin in our tenant), I have correct ID's added (checked with checking the channel and returning details of the channel). Request token is valid. https://i.stack.imgur.com/xmnmF.png MS Teams API export is one of the possible option but since I need to check way long in the past, it is limited by retention policy. I really just need to get last message (not the text, but just details about it) from each channel to get a "time stamp" of last activity. Ideally when and who. Can you please help me out? Thank you1.7KViews0likes3CommentsTeams Wiki content Migration Issue
I am trying to Migrate Teams Wiki Tab Content across the tenant. I found that teams wiki contents are stored in the teams SharePoint hidden list with channel name. Hidden List and .mht file is created when we click on the wiki tab in teams group. Is there any way to perform the Hidden list and .mht file creation using Power shell or C# without clicking the wiki tab.Solved3.7KViews0likes3CommentsGraph API access without using client id and secret key
I have a C# Application that reads O365 groups and teams Information using graph API and generates a report. I am able to read and write teams info using graph API by authenticating using tenant info, client id and secret key (these values come from Azure APP registration). I am trying to avoid this App Registration step(tool requires client id and user login to get information). Is there any possible way to do authentication without client id?(like https://developer.microsoft.com/en-us/graph/graph-explorer does) https://docs.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=CS Above auth provider link doesn't have any authentication without clientid. Authentication used in the tool: static String[] sca = { "https://graph.microsoft.com/.default" }; var auth = PublicClientApplicationBuilder .Create(clientid) .WithTenantId(tenantid) .Build(); InteractiveAuthenticationProvider authProvider = new InteractiveAuthenticationProvider(auth , sca);Solved11KViews0likes3CommentsIs there any way to generate chat Id of MS teams using graph API ?
I got the list of chat Id's. I did a conversation in MS teams from GET - https://graph.microsoft.com/beta/me/chats/ using graph API (Graph Explorer). I want to chat with a new user. with whom I never chat before but I want to send a message by using graph API for that, I need a chat Id POST - https://graph.microsoft.com/beta/me/chats/ Request Body - { "body": { "content": " your message " } } So that I want to generate chat id with respect to new user with Whom I never chat before. Is there any way to generate chat Id?6KViews0likes1CommentUnable to post a message from Graph API Explorer to Teams
After following the documentation i am able to create a Channel but unable to post a message to a channel. POST Method: https://graph.microsoft.com/v1.0/teams/49fjfj570-0a14-40ff-abf6-d899adfdefafa/channels/19:3ea88b8d91f544cc96763786c28cd6010@thread.skype/messages/Hello Response: { "error": { "code": "BadRequest", "message": "Resource not found for the segment 'messages'.", "innerError": { "request-id": "729731a6-d7ce-4687-a00a-51eda380a705", "date": "2019-08-19T18:33:50" } } }4KViews0likes1Comment