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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors