0

I'm trying to create a create role definitions i.e. custom permission level using Power Automate with below body in Send an HTTP request to SharePoint:

{
    'request': { '__metadata': { 'type': 'SP.RoleDefinition' }, 'BasePermissions': 
    { '__metadata': { 'type': 'SP.BasePermissions' }, 'High': '176' , 'Low': '138612801' }, 
    'Description': 'New description', 'Name': 'New role', 'Order': 180 }
}

Below is 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.

1 Answer 1

1

In the Body, use the Json below:

{
'__metadata': { 'type': 'SP.RoleDefinition' },
  'BasePermissions': { '__metadata': { 'type': 'SP.BasePermissions' }, 'High': '176', 'Low': '138612801' },
  'Description': 'New Permission Level Description',
  'Name': 'New Permission Level',
  'Order': 180
}

enter image description here

enter image description here

2
  • Is there any update ? Have you tried this in Power Automate ? Commented Jan 26, 2021 at 0:48
  • awesome its working Commented Jan 26, 2021 at 1:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.