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.


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

  • will check and let you know, thanks
    – Arun
    Jan 25 at 2:01
  • Is there any update ? Have you tried this in Power Automate ?
    – Jerry
    Jan 26 at 0:48
  • awesome its working
    – Arun
    Jan 26 at 1:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.