Microsoft Graph Api
4 TopicsListing tabs in a channel encounters "Value cannot be null. (Parameter 'stringToUnescape')" error
Hi, We use the https://learn.microsoft.com/en-us/graph/api/channel-list-tabs?view=graph-rest-1.0&tabs=http in our product, and it works fine for all cases, except one. We notice that when sending this API with one of our customer's channel, we will get the following response: { "error": { "code": "BadRequest", "message": "Value cannot be null. (Parameter 'stringToUnescape')", "innerError": { "code": "InvalidRequest", "message": "Value cannot be null. (Parameter 'stringToUnescape')", "details": [], "date": "2024-05-10T01:38:38", "request-id": "10e6b074-a2dc-4950-aae5-8bbe68d838b8", "client-request-id": "10e6b074-a2dc-4950-aae5-8bbe68d838b8" } } } No matter we tried how many times, this error persists. For comparison, if we send the same API on another channel, we can get correct response. Do anyone also encounter this error? We hope Microsoft could help us figure out why and how we can handle this case. Thank you.738Views0likes2CommentsPrivate Channel - Failing to add members while creating private channel with Graph API
I am unable to add members to the private channel at the time of creation. i am only able to add Owners but member list is always coming empty. for refrence below is the body NOTE: #### is replaced by meaning fulldata in actual code { "@odata.type": "#Microsoft.Graph.channel", "displayName": "#######", "description": "#######", "membershipType":"private", "members": [ { "@odata.type":"#microsoft.graph.aadUserConversationMember", "user@odata.bind":"https://graph.microsoft.com/beta/users('####')", "roles":["Owner"] }, { "@odata.type":"#microsoft.graph.aadUserConversationMember", "user@odata.bind":"https://graph.microsoft.com/beta/users('#####')", "roles":["Owner"] }, { "@odata.type":"#microsoft.graph.aadUserConversationMember", "user@odata.bind":"https://graph.microsoft.com/beta/users('#####')", "roles":["member"] } ] } with this body, Private channel is created but it only contains the owners information and member's information is coming as empty. Also please clarify can we actually add both owners and members at the same time ? if so then whats missing in the code ?976Views0likes0CommentsHow to get User teams id using Microsoft Graph API or via any another method
I want to extract user id of a user to send a proactive message via a bot. I'm able to find the basic details of the user using graph API but unable to find a way where i can query user teams id which looks something like this -> 09:1YuoZA9DSJPbW3ITaCUEHAlIhyLYt8vgFLm9X3dB-L9wQ5YbMZEWi I'm not sure whether this id is only needed to send a message to a user or any basic detail will work to send the notification for ex-: User Principle Name, Azure Active Directory ID etc.Solved33KViews1like1Comment