We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfb348b commit ed2e4f8Copy full SHA for ed2e4f8
1 file changed
README.md
@@ -839,10 +839,13 @@ pip install "PowerPlatform-Dataverse-Client[async]"
839
840
```python
841
import asyncio
842
-from azure.identity.aio import DefaultAzureCredential
+from azure.identity import InteractiveBrowserCredential
843
from PowerPlatform.Dataverse.aio import AsyncDataverseClient
844
845
async def main():
846
+ # Connect to Dataverse
847
+ credential = InteractiveBrowserCredential()
848
+
849
async with DefaultAzureCredential() as credential:
850
async with AsyncDataverseClient("https://yourorg.crm.dynamics.com", credential) as client:
851
# Create a contact
0 commit comments