This series is for Pro Code Developers especially those working on Dataverse and want to know how to work with Dataverse. I am starting this series as I see less content available in this area. This series will help you understand how to work with Dataverse using Python.
So, in this post, first we will try to understand how to write a console application using Python Code utilizing(Tabular Data Stream) the TDS end point. Well, there were many posts in the internet for connecting to Dataverse using Python but uses more libraries and requires bit more code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
print(“2. Check if the tenant exists and is active”)
print(“3. Ensure you’re using the right Azure cloud (commercial, government, etc.)”)
exceptExceptionase:
print(f”Unexpected error: {e}“)
The logic just uses two libraries in Python
pyodbc
msal
The code efficiently handles all the errors for efficient tracking….
You can easily work with Python using VS Code as below,
Hover over Run option –> Click Start Debugging
You will able to get the Access Token after invoking the Dataverse.
Hope this posts helps…
Cheers,
PMDY
Discover more from ECELLORS CRM Blog
Subscribe to get the latest posts sent to your email.
Author: Pavan Mani Deep Y
Passionate for Power Platform. A technology geek who loves sharing the leanings, quick tips and new features on Dynamics 365 & related tools, technologies. An Azure IOT and Quantum Computing enthusiast… View all posts by Pavan Mani Deep Y