
Announcements
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"
}
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,