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 / The property '__metada...
Power Automate
Answered

The property '__metadata' does not exist on type 'SP.Group'. Make sure to only use property names that are defined by the type.

(0) ShareShare
ReportReport
Posted on by

Getting the Below error for sharepoint power automate flow to create sharepoint group.

The property '__metadata' does not exist on type 'SP.Group'. Make sure to only use property names that are defined by the type.

Using the below Json

 

 

{
"__metadata": {
"type":"SP.Group"
},
"Title": "FlowGroup",
"Description":"Group created from flow"
}

srinub_0-1598969554122.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @srinub ,

     

    Please try to use the following REST API format to create a SharePoint Group:

    Uri: /_api/Web/SiteGroups
    Method: POST
    Header: {content-type:'application/json;odata=verbose'}
    Body:{
    "__metadata": {
    "type": "SP.Group"
    },
    "Title": "Demo Group – Contribute",
    "Description": "Created through API in Flows."
    }

    Please try again and feel free to let us know if the issue still exists.

     

    Best Regards,

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 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard