https://github.com/devkeydet/dataverse-http-file-samples
https://github.com/devkeydet/dataverse-http-file-samples
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devkeydet/dataverse-http-file-samples
- Owner: devkeydet
- License: mit
- Created: 2024-06-11T23:00:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T11:09:21.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T17:46:52.628Z (about 1 year ago)
- Language: PowerShell
- Size: 15.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sample .http files interacting with Dataverse
Samples of how to use the REST Client Extension for Visual Studio Code to interact with the [Dataverse Web API](https://learn.microsoft.com/power-apps/developer/data-platform/webapi/overview)
* Install Visual Studio Code ( or `winget install Microsoft.VisualStudioCode`)
* Install this Visual Studio Code extension
* Install `az` cli ( or `winget install Microsoft.AzureCLI`)
* Use `az login` to login with the account that has permissions to the Dataverse environment
* Clone or fork this repo
* Open the cloned repo in Visual Studio Code
* Run the following in a PowerShell prompt in the root of this repo `.\create-or-update-env-file.ps1 -DataverseEnvironmentUrl https://your-environment-domain.crmX.dynamics.com`
* Use the sample `dataverse-samples.http` or `dataverse-samples-env-file.http` file depending on your preference