codeunit 80004 TutorialAPI
{ procedure Hello(): Text begin exit('Hello World'); end;}
{
procedure Hello(): Text
begin
exit('Hello World');
end;
}
The Azure Active Directory App has got following user groups and permissions:
A POST to https:/api.businesscentral.dynamics.com/v2.0/{{Tenant-ID}}/{{Env_Name}}/ODataV4/TutorialAPI_Hello without any json payload will bring up following error with status code 400 bad request and message:
{ /error/: { /code/: /Internal_ServerError/, /message/: /Sorry, the current permissions prevented the action. (CodeUnit TutorialAPI Execute: ) CorrelationId: d335ed99-1ac4-4029-9815-f9048e8d05d7./ }}
permissionset 80000 GeneratedPermission { Assignable = true; Permissions = codeunit TutorialAPI=X; }
permissionset 80000 GeneratedPermission
Assignable = true;
Permissions =
codeunit TutorialAPI=X;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Nimsara Jayathilaka. 4,220
Rishabh Kanaskar 3,958
Sumit Singh 2,961