I got the token wiht Postman, but wiht js i cant get it. i have the problem with Cors Policy in every navigator
Get token Api
Daniel Muñoz Ramirez
0
Reputation points
im trying to use business central api with js in my portal but when i meke the request to get the token, i show this problem "lcxtesting.powerappsportals.com/:1 Access to XMLHttpRequest at 'https://login.microsoftonline.com/4423c900-c81b-4d29-a032-8433310bf02a/oauth2/v2.0/token' from origin 'https://lcxtesting.powerappsportals.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
Azure Data Share
Azure Data Share
An Azure service that is used to share data from multiple sources with other organizations.
Azure SQL Database
Azure SQL Database
An Azure relational database service.
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Office JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.