cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smile_rainbow
Regular Visitor

Export to file for paginated report error- integrated security in the connection string

Hi,

 

I have created a flow that runs a paginated report and export into excel spreadsheet and saves to one-drive.

 

Save a paginated report to OneDrive for Business or SharePoint Online - Power BI | Microsoft Docs

 

But I am getting the below error at 'Export to file for paginated report' stage.

 

"You have specified integrated security in the connection string for the data source. Please remove it from the connection string and try uploading the report again."

 

The report is using SQL database and it's running fine on its own but failing in the flow with the above error.

 

Please can someone help with this.

1 ACCEPTED SOLUTION

Accepted Solutions
srduval
Kudo Collector
Kudo Collector

actually just found a new solution to this. under the "manage" menu item (click the vertical ellipse thing)  then manage dataset and uncheck the "Report viewers can only access this data source with their own Power BI identities using DirectQuery." box in the "manage" menu option page. if you are using a SQL authentication, change authentication to be basic, then click sign in otherwise leave it at oauth and click sign in. 

Capture.JPG

 

Capture2.JPG

 

Capture3.JPG 

 

View solution in original post

5 REPLIES 5
srduval
Kudo Collector
Kudo Collector

It is a bug in the API that can't pass through an identity token, I made them aware of the issue when the feature first launched publicly, but they never gave an estimated timeline for fixing it. The only solution I've found so far is to map the report to use a gateway or something other then windows/microsoft authentication. Basically, you have to hardset a username and password in the RDL (or by mapping to a gateway). I'm playing with the raw API with a custom connection to see if I can bypass that security issue, but no luck. 

@AnnaChu is there anything that can be done to resolve the integrated security error?

AnnaChu

srduval
Kudo Collector
Kudo Collector

Hi @sdruval,

Thanks for your reply.  I am really struggling with this error and raised a ticket with Microsoft but no resolution yet. I am keen to know how did you use the gateway for the report? Also you mentioned about hardsetting a username and password in the RDL. How do you do that?

I look forward to hearing from you as need this working desparately.

Thanks for your help in advance.

 

srduval
Kudo Collector
Kudo Collector

actually just found a new solution to this. under the "manage" menu item (click the vertical ellipse thing)  then manage dataset and uncheck the "Report viewers can only access this data source with their own Power BI identities using DirectQuery." box in the "manage" menu option page. if you are using a SQL authentication, change authentication to be basic, then click sign in otherwise leave it at oauth and click sign in. 

Capture.JPG

 

Capture2.JPG

 

Capture3.JPG 

 

Hi @smile_rainbow 

Apologies for the delay in response on your ticket and thank you for your patience.

Can you please send @AnnaChu a direct message, which includes your ticket number, the date submitted and ticket details, so that our team can follow up on with support on the delayed response time? 

Also, @smile_rainbow can you please respond and mark the solution @srduval provided, if it worked for you? 

 

Thank you also @srduval your solution is spot on! 🙂  @Heddanewman fyi.

Best, 
Kelly Kaye

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,639)