事件
Authenticate with Microsoft Dataverse web services
When you create client applications that use Dataverse web services you need to authenticate to gain access to data. How you authenticate depends on the software framework you use and which web service you want to connect with.
If your client application uses the .NET Framework, you have two authentication options:
- OAuth (recommended)
- Microsoft 365
OAuth is the preferred means to authenticate because it provides access to all web services.
OAuth is also required to support:
- Microsoft Entra ID configurations for conditional access, such as Two-factor Authentication (2FA)
- Use of client secrets to enable server-to-server authentication scenarios.
- Cross-Origin Resource Sharing (CORS) to connect a Single-page Application (SPA)
More information: Use OAuth with Dataverse
Microsoft 365 authentication (referred to as Office365 in code) requires using the .NET Framework SDK assemblies with the web services.
Using Microsoft 365 authentication does not require that your register your applications as OAuth does. You must simply provide a User Principal Name (UPN) and password for a valid user.
More information: Authentication with .NET Framework applications
重要
Microsoft 365 authentication for Dataverse is deprecated. More information: Use of Office365 authentication with Microsoft Dataverse
If you are using anything other than .NET Framework, you must authenticate using OAuth and you must use the OData RESTful web services (Web API and OData global Discovery service).
More information: Use OAuth with Dataverse
其他資源
訓練
模組
Uso del servizio Dataverse Organization - Training
Informazioni sull'uso del servizio Dataverse Organization.
認證
Microsoft Certified: Power Platform Developer Associate - Certifications
Illustrare come semplificare, automatizzare e trasformare processi e attività aziendali usando Microsoft Power Platform.