Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
BaijuHFX
Regular Visitor

Access Unauthorized

We have to publish a report that has two sources, one from SQL DB & from Spreadsheet

There were no errors in the PowerBI gateway for SQL, but we are getting errors while testing on the spreadsheet location.

I checked the privacy settings on the Gateway and Power BI desktop and tried none, private, public, and organizational with no luck. 

also tried clearing data source permissions File-->Options and Settings --> Data Source Settings --> clear permission.

 

Error message,

DM_ErrorDetailNameCode_UnderlyingHResult:-2147467259

 

Microsoft.Data.Mashup.CredentialError.Reason:AccessUnauthorized

 

Underlying error code: -2147467259
Underlying error message: The credentials provided for the File source are invalid. (Source at \\mypc\sample data\superstoreus-2015copy.xlsx.)
DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.CredentialError.DataSourceKind: File
Microsoft.Data.Mashup.CredentialError.DataSourcePath: \\mypc\Sample Data\SuperStoreUS-2015Copy.xlsx
Microsoft.Data.Mashup.CredentialError.Reason: AccessUnauthorized
Microsoft.Data.Mashup.MashupSecurityException.DataSources: [{"kind":"File","path":"\\\\mypc\\Sample Data\\SuperStoreUS-2015Copy.xlsx"}]
Microsoft.Data.Mashup.MashupSecurityException.Reason: AccessUnauthorized
Cluster URI: WABI-CANADA-CENTRAL-redirect.analysis.windows.net
Activity ID: 0732c37a-2d2b-4a15-9235-87c5311c3e1a
Request ID: db5326c8-ed3b-ea48-b6ce-00a4fc665073
Time: 2022-10-25 12:52:06Z

 

Can someone help me to troubleshoot the error

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@BaijuHFX , In the gateway setting, when you give the file path and windows credential. If that is not email mail sure, you give domain\username( to check the name-> right click on my pc and check)

View solution in original post

2 REPLIES 2
BaijuHFX
Regular Visitor

@amitchandak   it worked, Thank you.

amitchandak
Super User
Super User

@BaijuHFX , In the gateway setting, when you give the file path and windows credential. If that is not email mail sure, you give domain\username( to check the name-> right click on my pc and check)

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.