Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

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

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": {
    "message""groupId needs to be a valid GUID.",
    "innerError": {



    "inputs": {
        "method": "PUT",
        "uri": "{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": "",
            "clientId": "@variables('ClientId')",
            "secret": "@variables('ClientSecret')"


Example of URI output:!sto_Uck9dUaPwJWTs7R7rLk6Afk8FJZJv-k6fTM5CP_a7iV8n3AIRr84QU...


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



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,574)