New webservice insert Permission issue for 55000 range in Dynamics 365 BC

Hi Expert ,

   I have created one new 'AEC App' table object (55000) and Created one list type page 'AEC App' .Using that page i have expose one webservice. When i try to post a data it's throwing an  error : 

Request Url : 

api.businesscentral.dynamics.com/.../aecapp

Body : 

    {

      "AppId" : 1,

      "AppName" : "Shopify"

     }

Error Details : 

      {
        "error": {
        "code": "Internal_ServerError",
        "message": "You do not have the following permissions on TableData 55000: Insert.\r\n\r\nTo view details about your permissions, see the Effective Permissions page. To report a             problem, refer to the following server session ID: '6954'. CorrelationId: 093b3621-c6c1-4056-8872-86b5c78aaf50."
                  }
      }

I have added ExtensionPermissionSet.xml in my project using command .By default this xml was generated with only ExecutePermission .I am getting above error After upload that extension . I have set all permission for all objects but getting same error : 

 <Permission>
      <ObjectType>0</ObjectType>
      <ObjectID>55000</ObjectID>
      <ReadPermission>1</ReadPermission>
      <InsertPermission>1</InsertPermission>
      <ModifyPermission>1</ModifyPermission>
      <DeletePermission>1</DeletePermission>
      <ExecutePermission>1</ExecutePermission>
      <SecurityFilter />
    </Permission>
    <Permission>
      <ObjectType>1</ObjectType>
      <ObjectID>55000</ObjectID>
      <ReadPermission>1</ReadPermission>
      <InsertPermission>1</InsertPermission>
      <ModifyPermission>1</ModifyPermission>
      <DeletePermission>1</DeletePermission>
      <ExecutePermission>1</ExecutePermission>
      <SecurityFilter />
    </Permission>
As of i know for 55000 objects no permission required . I have set the permission but in user effective permission page it's showing that user have only execute permission .
Please give me suggestion how to give permission in tabledata for 55000 object range .
Thanks 
Surajit Kundu

  • Hi,
    are you sure that ID of the object is in the license? I had a case where I was 100% sure the object IDs from 50000 to 99999 are all in the license, and I was wrong, where I got a license of enduser with permissions to object IDs starting from 50000..50200 and then from 50500..50900...

Related
Recommended