web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Graph HTTP P...
Power Automate
Unanswered

Microsoft Graph HTTP PUT Error for Groups "groupId needs to be a valid GUID."

(0) ShareShare
ReportReport
Posted on by 9

Hi All,

 

I am trying to create a Microsoft Team based on an existing Microsoft Group ID in Office 365 using Microsoft Graph. I keep recieveing the following error:

 

{
  "error": {
    "code""BadRequest",
    "message""groupId needs to be a valid GUID.",
    "innerError": {
      "date""2020-10-01T12:47:48",
      "request-id""33284f98-123f-4804-bfeb-200091e24b28",
      "client-request-id""33284f98-123f-4804-bfeb-200091e24b28"
    }
  }
}

 

 

{
 "inputs": {
 "method": "PUT",
 "uri": "https://graph.microsoft.com/v1.0/groups/@{body('Parse_JSON_-_Drive_info_to_JSON_object')?['id']}/team",
 "headers": {
 "Content-Type": "application/json"
 },
 "body": {
 "memberSettings": {
 "allowCreateUpdateChannels": true
 },
 "messagingSettings": {
 "allowUserEditMessages": true,
 "allowUserDeleteMessages": true
 },
 "funSettings": {
 "allowGiphy": true,
 "giphyContentRating": "strict"
 }
 },
 "authentication": {
 "type": "ActiveDirectoryOAuth",
 "tenant": "@variables('TenantId')",
 "audience": "https://graph.microsoft.com",
 "clientId": "@variables('ClientId')",
 "secret": "@variables('ClientSecret')"
 }
 }
}

 

Example of URI output:

https://graph.microsoft.com/v1.0/groups/b!sto_Uck9dUaPwJWTs7R7rLk6Afk8FJZJv-k6fTM5CP_a7iV8n3AIRr84QUk8cCwP/team

 

I hope someone can help because I don't understand why this isn't working?

 

https://docs.microsoft.com/en-us/graph/api/team-put-teams?view=graph-rest-1.0&tabs=http

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard