Getting an error in power automate flow "The property '__metadata' does not exist on type 'SP.Group'

srinivas bhumadi 21 Reputation points
2020-09-01T13:55:52.94+00:00

The property '__metadata' does not exist on type 'SP.Group'. Make sure to only use property names that are defined by the type.
clientRequestId: 3f51da56-2cd8-4179-87e5-0a3e4aef8088
serviceRequestId: 95c1759f-a037-0000-5bc2-f46db198aff1

21953-image.png

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,143 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,593 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426.4K Reputation points MVP
    2020-09-01T13:59:15.87+00:00

    Power automate is not currently supported here on QnA. They're actively answering questions in dedicated forums here.
    https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. Jerryzy 10,566 Reputation points
    2020-09-02T04:02:42.61+00:00

    Hi @srinivas bhumadi ,

    I tested the flow like this, it's creating the SharePoint site group as expected, please check:

    22035-snipaste-2020-09-02-11-59-14.png

    22085-snipaste-2020-09-02-12-00-02.png

    This is the created group:

    22004-snipaste-2020-09-02-09-50-46.png

    The body metadata should like this:

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

    Reference:

    SharePoint Group Operations In Microsoft Flow

    0 comments No comments