Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi, It's been a week stuck on it. having error "Failed to decrypt data: Key not valid for use in specified state".
let me brief you about my scenario, I'm using enterprise gateway. all data sources is working fine, in which i used data import method. but when i use Direct Query method it's giving me this error "Failed to decrypt data: Key not valid for use in specified state". Pls help me.
Please find below error screenshot
Solved! Go to Solution.
Hi @dy ,
Try the following solution from this link.
Enable the setting to encrypt passwords for all users of the machine.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @dy ,
Try the following solution from this link.
Enable the setting to encrypt passwords for all users of the machine.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, Stephen Tao!
Hi @v-stephen-msft , can I ask what selecting "All Users of this machine" does?
@v-stephen-msft Realy greatful it works now that error has been fixed by performed suggested config however now i'm getting this error. pls have a look into this. Thanks again for your reply
Hi @dyn ,
Are you @dy ? Or is it just the same name?😂
The error message shows that you don't seem to have a gateway configured for your data source.
Please refer to
Add or remove a gateway data source - Power BI | Microsoft Docs
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-stephen-msft Haha it's the same. i couldn't login with my previous account that's why create a new one.
One thing more wanna ask can we write query on power bi to get data from source if yes then how can we do this could you specify an example if i have to fetch from athena and want to write query in power bi to get data from athena
Hi @dyn ,
Power BI has Power BI Desktop and Power BI Service. In Desktop, you can connect data sources and refresh data without a gateway. In Service, some specific data sources require you to configure gateways as bridges to connect data sources.
When you say athena, do you mean Amazon Athena? It needs the gateway to refresh in Power BI Service.
Power Query Amazon Athena connector - Power Query | Microsoft Docs
Using the Amazon Athena Power BI Connector - Amazon Athena
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
34 | |
30 | |
18 | |
12 | |
8 |
User | Count |
---|---|
50 | |
36 | |
30 | |
15 | |
12 |