web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to connect to D...
Power Apps
Unanswered

Unable to connect to Dataverse using Custom Web API

(0) ShareShare
ReportReport
Posted on by 156

Hi,

 

Currently we are developing a Web API and host it on Azure App Service. The API is supposed to connect to Dataverse to perform some action. We use XRM Tool Connector to do this, we are able to connect to Dataverse when we test on local, but when we publish the API to Azure App Service, it does not work. 

 

This is the code that we use to create the connection to Dataverse

MicrosoftTeams-image (2).png

 

This is the error we get

 

MicrosoftTeams-image (1).png

 

If you need more information, please tell us

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @MinhPham96,

    I was not able to reproduce this on my end using the same connection string type as you.

    Can you provide some more details on the version of Xrm tooling used, .NET framework version, and the configuration of the Azure App Service instance its deployed to? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard