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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Connection string not working for azure function but working from console application

(0) ShareShare
ReportReport
Posted on by 10

I have built a console application that connects to the dynamic 365 and its connecting fine.

I tried calling the same console application using azure functions and using the same connection string and its throwing FIle not found exception.

This is the string I am using 
string connection = @"Url=https://**************.crm.dynamics.com; Username=********; Password=********; authtype=OAuth; AppId=*****************; RedirectUri=app:/***************;LoginPrompt=Auto";

what am I doing wrong?

I have the same question (0)
  • Nya Profile Picture
    29,060 on at

    Hi,

    Have you tried to download the latest dll file from Nuget?

    Or you could attach a screenshot of the error message to me.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans