@@ -31,7 +31,7 @@ The SDK supports Dataverse's native bulk operations: Pass lists to `create()`, `
3131from azure.identity import (
3232 InteractiveBrowserCredential,
3333 ClientSecretCredential,
34- ClientCertificateCredential ,
34+ CertificateCredential ,
3535 AzureCliCredential
3636)
3737from PowerPlatform.Dataverse.client import DataverseClient
@@ -45,7 +45,7 @@ credential = AzureCliCredential()
4545
4646# Production options
4747credential = ClientSecretCredential(tenant_id, client_id, client_secret)
48- credential = ClientCertificateCredential (tenant_id, client_id, cert_path)
48+ credential = CertificateCredential (tenant_id, client_id, cert_path)
4949
5050# Create client (no trailing slash on URL!)
5151client = DataverseClient(" https://yourorg.crm.dynamics.com" , credential)
@@ -256,7 +256,7 @@ except ValidationError as e:
2562562 . ** Specify select fields** - Limit returned columns to reduce payload size
2572573 . ** Control page size** - Use ` top ` and ` page_size ` parameters appropriately
2582584 . ** Reuse client instances** - Don't create new clients for each operation
259- 5 . ** Use production credentials** - ClientSecretCredential or ClientCertificateCredential for unattended operations
259+ 5 . ** Use production credentials** - ClientSecretCredential or CertificateCredential for unattended operations
2602606 . ** Error handling** - Implement retry logic for transient errors (` e.is_transient ` )
2612617 . ** Always include customization prefix** for custom tables/columns
2622628 . ** Use lowercase** - Generally using lowercase input won't go wrong, except for custom table/column naming
0 commit comments