web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Access Dynamics 365 Business edition through API for trail Account

(0) ShareShare
ReportReport
Posted on by

I need help in accessing D365 Business edition through API from my trail account. I made authentication through AAD. But still its showing unauthorized for my resource. Though i have no option to activate API access in my dashboard. 

If API access can't be done on trail account, please assist me to get access to API on D365 Business edition or NAV.

Categories:
  • Suggested answer
    Jared Hall Profile Picture
    Microsoft Employee on at

    Hi Santhosh,

    You may have already seen these resources, but here is some documentation to help you with using the APIs:

    Developing Connect Apps for Dynamics 365 for Finance and Operations, Business edition

    API Reference for Dynamics 365 for Finance and Operations, Business edition

    Something to note is that authorization and access to resources through the APIs is based on the security access granted to the user in the application. If the user doesn't have permission to view the data in the Dynamics 365 for Finance and Operations, Business edition application, then they will get an unauthorized response when trying to access the resource through the API. So you will want to make sure the user is set up with the appropriate permission sets on the User Card in the application.

    Something else you can test if you think it may be an issue with the authentication token through AAD is to try using basic authentication. You can do this using the User Name and Web Service Access Key for the user from the User Card. If that authenticates successfully, then it may be an issue with your token from AAD.

    I hope this helps!

    Jared Hall

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.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans