GithubHelp home page GithubHelp logo

yeswecandrew / pyconnectdataverse Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 8.0 31 KB

Connect to the Dynamics 365 / Dataverse Web API using interactive login

Home Page: https://andyhowes.co/easily-connect-to-dataverse-microsoft-dynamics-with-python/

License: GNU General Public License v3.0

Python 100.00%
dataverse-api dynamics-365 dynamics-crm powerapps

pyconnectdataverse's Introduction

PyConnectDataverse

This Python program enables you to connect with the oData Web API for Dynamics, Power Apps and Dataverse.

Detailed instructions on how to get started can be found on andyhowes.co

This program can be used for:

  • Securely accessing all functions of the OData Dataverse API OData Dataverse API with an authenticated Python session.
  • Downloading Dynamics 365 data using Python for efficient analysis.
  • Adding many-to-many relationship data to Dataverse.
  • Automating tedious manual processes such as populating option sets and choices.
  • Anything you can think of using the OData API and Python!

To write your own functions, use any of pcd python files as a template to get an authenticated session with the API and then make requests over HTTPs as needed. Basic operations can be found here.

An Azure Application with access to Dynamics is required to authorise the app. Authorisation details are stored in a env.json file an example is saved in example-env.json. Find instructions on andyhowes.co.

Further information can be found in these resources, which I used to develop the system.

pyconnectdataverse's People

Contributors

yeswecandrew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pyconnectdataverse's Issues

Downloading a file from a Dataverse table

Hey, I use your code to query simple information from my Dataverse tables and summarize it in an HTML. Now I have the problem that I have a file column in my table and I try to download it in vain. Do you have any idea how this could work?

Thank you for sharing your work with everyone and thanks in advance :)

Trouble connecting with msal

Hey i registred my app in entra ID
I got my power apps env url

i made all the steps but when i run pcd_test_connection.py i got prompted to a authentication web page indicating :

AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope offline_access openid profile {NAME}crm4.dynamics.com/user_impersonation is not valid. The scope format is invalid. Scope must be in a valid URI form https://example/scope or a valid Guid <guid/scope>.

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.