Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello,
On EC2 instance, created Sys DSN where AWS Profile name is mentioned as authentication mode.
I'm able to publish the report (DirectQuery) from Desktop to Service using the Athena Connector (and selected default or config).
In the service, when i tried to create a Connection ( to be mapped with the data gateway), am facing below error. Appreciate your helo here:
Both desktop and gateway are installed on same ec2 instance. AWS profile tested with scripts so cred are good.
Connection Type: Athena
Auth method: Anonymous
Entered DSN Name and connection name
Error:
@jashukla did you have any success with this issue? I'm having the same problem here at my job. Trying to setup a PBI Service <> Athena (IAM Profile) connection through a on-premisses data gateway but bumping into the "No AWS profile found" error.
Our .aws\credentials and .aws\config files are stored in a user directory so i think that the gateway can't find'em while stablishing the connection. Tried creating enviroment variables but it also didn't work.
Hi @jashukla
In order to connect with the Athena Connector, you need to have a username and password. Here is my bump post expanding how to successfully connect to Athena.
Did you know you can query data from AWS S3 into Power BI? - FourMoo | Fabric | Power BI
Thanks for the response. Our DSN has to be AWS Profile-based (we're not allowed to hard code credentials there), therefore we are exploring how Athena connector can pull the username and password from the same AWS profile.
We intend to use the Athena views to generate the reports hence S3 may not be useful here.
Is there any way to extract the username and password from the AWS profile and supply to the Athena connector to map with the gateway?
Can we use the custom connector for this? If yes, could you share the power query code please (I'm very much new to this).
Thanks!
What is the update? Any progress on this?