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 / Connecting to a Datave...
Power Apps
Unanswered

Connecting to a Dataverse DB from Azure Cognitive Search - BadRequest Login failed: Request is not authenticated

(0) ShareShare
ReportReport
Posted on by 28

Anybody try to connect Azure Cognitive search to a Dataverse DB via SQL connection option .. my user is a cloud (onmicrosoft.com) user and I can connect via SSMS using Integrated with universal MFA, but can't seem to connect via Azure Cognitive search. I just get BadRequest: Login failed: Request is not authenticated.

 

My connection string looks like this:

Server=tcp:orgaXXXXX.crm.dynamics.com,1433;Initial Catalog=orgaXXXXX;Connect Timeout=15;Encrypt=False;Trust Server Certificate=False

 

I've tried a number of other combinations with no luck. 

 

Jpineiro_0-1683802677207.png

I am able to connect via SSMS but note my user is a cloud user and authentication type is with universal MFA

 

Jpineiro_1-1683802829498.png

 

I have confirmed the user has all the needed access to query the table in question from SSMS and SSIS. 

 

Thanks.

 

 

 

I have the same question (0)
  • ISD Development Profile Picture
    28 on at

    Another strange thing behavior thing is , the connection string validates and we can save , though test fails, but I return the configuration changes the user/password. 

  • AngelinePV Profile Picture
    4 on at

    Hi, were you able to resolve this? 

  • SimonSays Profile Picture
    168 on at

    I'm interesting in this too. Trying a different approach via Synapse Link but have run into different issues, such as Cognitive Search appearing not to support Serverless SQL Pools. 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard