Jun 12 2020 06:35 AM
I am using MS flow with "Send an HTTP request to Sharepoint" to add user into SP group
please find attached screenshot,
i have following JSON
{
'_metadata':{'type':'SP.User'},
'LoginName':'i:0#.f|membership|chetan.raut@xyz.com'
}
I am getting following error:-
The property '_metadata' does not exist on type 'SP.User'. Make sure to only use property names that are defined by the type.
any idea what is wrong? and how i can add user to sharepoint group using MS Flow
Jun 12 2020 06:40 AM
Corrected above error, its due to some incorrect JSON.
but now I am getting following error.
An entry without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified.
Jun 14 2020 10:50 PM
any update on above issue?
Jun 24 2020 11:58 AM
@rautchetan27 Hi were you able to figure it out? I have the same issue
Jun 30 2020 04:36 AM
Sep 17 2020 02:53 AM
@rautchetan27 Try replace _metadata with __metadata
Mar 23 2021 02:21 PM
Apr 05 2022 09:37 AM
@ramkiranvure Its worked for me when i use __metadata instead of _-metadata
Jun 28 2023 01:18 AM