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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jeffprandall
Helper I
Helper I

Permissions to execute stored procedure

I am trying to executive a stored procedure which executes another stored procedure to decrypt some data.  I get the unecrypted data but all the encrpyted data is blank.  I have made sure both SP's have the Execute permission using the account used in the Gateway credentials along with the service account the gateway service is running.  And when the Scheduled Refresh happens there is no errors.

5 REPLIES 5
v-henryk-mstf
Community Support
Community Support

Hi @jeffprandall ,

 

You can refer to the related blogs and documents provided below, hoping to help you.

vhenrykmstf_1-1626674863325.png

 

Always Encrypted - SQL Server | Microsoft Docs

Power BI and SQL Always Encrypted (linkedin.com)


If the problem is still not resolved, please provide detailed error information screenshoot and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The database itself is not encrypted just the data in the column.  The stored procedure makes a OPEN SYMMETRIC KEY and DECRYPTION BY CERTIFICATE to unencrypt the data.

Hi @jeffprandall ,

 

Is your problem solved, do you need further help? Looking forward to your reply.

 

If the problem has been solved, you can mark the valuable reply as the correct answer to help the other members find it more quickly.


Best Regards,
Henry

 

No it still does not work.

jeffprandall
Helper I
Helper I

jeffprandall_0-1626373782096.png

Permissions ran - top user is the service account, bottom user is a SQL Account used in Gateway Credentials (tests do pass)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors