Authenticate to Microsoft Dataverse with the Web API
You must use OAuth as described in Use OAuth with Dataverse.
The code you write to manage authentication when using the Web API depends on the type of deployment and where your code is.
Authenticate with JavaScript in web resources
When you use the Web API with JavaScript within HTML web resources, form scripts, or ribbon commands you don't need to include any code for authentication. In each of these cases the user is already authenticated by the application and authentication is managed by the application.
If you're creating a single page application (SPA) using JavaScript you can use the msal.js library as described in Use OAuth with Cross-Origin Resource Sharing to connect a Single Page Application.
See also
Use the Dataverse Web API
Web API types and operations
Perform operations using the Web API
Use OAuth with Dataverse
Use OAuth with Cross-Origin Resource Sharing to connect a Single Page Application
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기