Despite my efforts, I'm having some trouble accessing the Business Central Admin Center API.
It could have something to do with the app registration I completed in the Azure Portal, I think.
I registered an app and granted it "delegated rights" to "Dynamics 365 Business Central" with access to "Financials.ReadWrite.All" as an admin user of the tenancy. For the app, I also made a secret.
My issue is that whenever I attempt to visit the Admin Center API, I receive a "403 Forbidden" response. As a result, I presume that I have either missed something, established my app registration incorrectly, or attempted to use the API in an inefficient manner.
When I attempt to look at the token I receive, it doesn't display the rights that I would anticipate and have seen in other situations (such with MS Graph API), thus I wonder if the token itself could be the issue.
I found some related answer. May this link will help you:-
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/automation-apis-using-s2s-authentication