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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 802 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 273

Last 30 days Overall leaderboard