Git Product home page Git Product logo

rpothin / servicebus-csharp-function-dataverse Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 192 KB

A complete solution that includes everything you need to build, deploy, and monitor an Azure solution to process messages into a Dataverse environment. This application uses the Azure Developer CLI (azd) to get you up and running on Azure quickly, an Azure Service Bus for the messages, a C# Azure Functions app, and Azure Monitor for monitoring and logging.

License: MIT License

Bicep 31.14% C# 5.06% PowerShell 63.80%
azd-templates azure azure-functions dataverse power-platform service-bus

servicebus-csharp-function-dataverse's Introduction

Azure Developer CLI Template - rpothin/servicebus-csharp-function-dataverse

Application to process messages from an Azure Service Bus to a Dataverse environment through a C# Azure Functions application using the Microsoft.PowerPlatform.Dataverse.Client package.

📢 What is the servicebus-csharp-function-dataverse project?

It is a GitHub repository using the Azure Developer CLI to get you up and running on Azure quickly in a scenario where you need to process messages from an Azure Service Bus to a Dataverse environment through a C# Azure Functions app.

It contains components (infrastructure as code in Bicep, C# Azure Functions application code...) that will help you be up and running quickly.

servicebus-csharp-function-dataverse

📖 Documentation

  1. Prerequisites for deploying the solution
  2. Setup and deployment of the solution
  3. Test the deployed solution
  4. GitHub configuration

Annex

❗ Code of Conduct

I, Raphael Pothin (@rpothin), as creator of this project, am dedicated to providing a welcoming, diverse, and harrassment-free experience for everyone. I expect everyone visiting or participating in this project to abide by the following Code of Conduct. Please read it.

👐 Contributing to this project

From opening a bug report to creating a pull request: every contribution is appreciated and welcomed. For more information, see CONTRIBUTING.md

Not Sure Where to Start?

If you want to participate to this project, but you are not sure how you can do it, do not hesitate to contact @rpothin:

📝 License

All files in this repository are subject to the MIT license.

💡 Inspiration

We would like to thank the open-source projects below that helped us find some ideas on how to organize this project.

servicebus-csharp-function-dataverse's People

Contributors

rpothin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

servicebus-csharp-function-dataverse's Issues

Updating/work-with this template for GHA and Azd Devcontainer feature.

Bug Description

We are updating this template to support new features in Github Action and Azd Devcontainer.

  1. For the Github Action feature: We will remove two lines of code on container image and add GHA code after checkout step in the .github/workflow/azure-dev.yml file. (Shown as below)
    image

  2. For the Azd Devcontainer feature: We will remove dockerfile in .devcontainer folder and add the following code in devcontainer.json file,

"ghcr.io/azure/azure-dev/azd:latest": {}

and image also need to be add instead of build.
image

@rajeshkamal5050 , @rpothin for notification.

Steps To Reproduce

None

Expected Behavior

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug] README Link issues

Bug Description

Section link1, link2:
image
image

Reason:
Referenced file path error.

Suggestion:
Change the reference file path to ../scripts/post-init-setup.ps1

Section link:
image
image

Reason:
Referenced file path error.

Suggestion:
Change the reference file path to ../.dataverse/environment-configuration.json

Section link:
image
image

Reason:
Referenced file path error.

Suggestion:
Change the reference file path to ../infra/main.parameters.json

Steps To Reproduce

@rpothin for notification.

Expected Behavior

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug] Run command ".\scripts\post-init-setup.ps1" failed

Bug Description

Issue1:
Running .\scripts\post-init-setup.ps1 afterazd initwill report the following error according to its README.
image

Error code location1
image
Error code location2
image

Issue2:
After fix the above errors Issue1 executing the command.\scripts\post-init-setup.ps1 requires the dataverseEnvironmentUrl, we press enter according to the prompt and an error occurs after selecting y in the options that appear.

So, how to get the value of the dataverseEnvironmentUrl?

image

Steps To Reproduce

  1. Login with az login and azd login
  2. Run Command azd init --template rpothin/servicebus-csharp-function-dataverse
  3. Run Command .\scripts\post-init-setup.ps1

Expected Behavior

Run Command .\scripts\post-init-setup.ps1 successfully.

@rpothin for notification.

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug] There are manual steps for the "azd pipeline config"

Bug Description

There are manual steps for the azd pipeline config, need to manually click Run workflow to run the Actions.
image

Steps To Reproduce

1.Login with az login and azd login
2.Run Command azd init --template rpothin/servicebus-csharp-function-dataverse
3.Run Command .\scripts\post-init-setup.ps1
4.Run Command azd up
5.Run Command azd pipeline config --auth-type federated --principal-name <service principal name>

Expected Behavior

azd pipeline config command should automatically trigger workflows for GitHub Actions.

@rpothin for notification.

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

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.