graphapi
31 TopicsHow to generate or create chat id of MS teams using Graph API ?
I got the list of chat Id's. I did conversation in MS teams from GET - https://graph.microsoft.com/beta/me/chats/ using graph API (Graph Explorer) Is there any way to generate chat Id with the help of user Id with whom I never chat yet.25KViews0likes5CommentsGraph 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);Solved11KViews0likes3CommentsBest practices for use of service accounts
We are fairly early in our journey on the use of Power Platform and SharePoint online. Some devs in the org have done some pretty cool things with Power Platform, Graph etc, but their solutions all run under their own accounts. I'm getting more and more questions now on how we can make these run under a generic service account so that these solutions are not dependent on the dev's account remaining active. Do you guys use service accounts? One account for all solutions? A different account for each solution? How do you license these accounts? Do you give the credentials to devs or is there a way to create a token? Looking for some ideas and best practices. Thanks.8.4KViews0likes1CommentIs 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?6KViews0likes1CommentHow to send a message to a thread (reply) using botbuilder 4.0 SDK
How to send a message to a thread (reply) using botbuilder 4.0 SDK Scenario:- 1. User A -> Types a message in Teams App (bot) 2. Now Bot has to reply to the same thread that user A has started in Teams App (bot) I am able to send a new message in the Teams App (bot) - Not expected The bot needs to reply to the same thread the user started - Expected If you have any document link or example, please point it out. Thank you.3.9KViews1like15CommentsUnable 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" } } }3.9KViews0likes1CommentTeams 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.7KViews0likes3CommentsAdd Cloud Storage with Graph API
Hello, I am currently creating a tool which allows us to automatically create teams based on an external source. Most settings could be manged via the Graph API (members, tabs, channels). I would like to add an additional cloud storage source (Sharepoint Document Library) to the files tab but i couldn't find any description how to do so. Neither via the Graph API or any other way that could be automated. Is this currently not possible?Solved3KViews1like3CommentsIVR Scenario Problems
Hey There I have a MS Graph Bot for Teams and have to play a .Wav File during a Call. I can start this Call and Manage it very well over Graph. But when I want to start a Sound I become Completed. But No Sound starts. When I read the results of the Call I see 2 Error Messages: What am I doing Wrong? Best Regards Swess2.7KViews0likes14Comments