web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Column Secuity Profile...
Power Apps
Answered

Column Secuity Profiles - Not working after importing into Production

(0) ShareShare
ReportReport
Posted on by 19

 I applied column security profiles to a sandbox solution, tested my access to the sandbox data tables in a Power BI connection. I confirmed the column security profiles are working, showing null values for the columns that I have secured. I published all customizations in this particular solution, exported the solution as managed. Then I imported the solution into my production environment. To confirm the column security profiles were imported, I went into the admin center and checked the column security profiles. After refreshing the page, the profiles appeared. I assumed that my sensitive data was secure, so I shared the app and applied a security role to my tester, including applying this test user to the column security profile as well. My tester then connected to the production environment tables in Power BI, using the Dataverse connection. My tester showed his screen, and the sensitive data was exposed, suggesting the column security profile did not apply. 

 

Worked in sandbox, imported into production, then stopped working. 

 

Does anyone know what I missed? What should I do when moving a solution to production, ensuring the security profiles transfer as well. 

 

Thanks for your help!

I have the same question (0)
  • Verified answer
    PowerThomas Profile Picture
    288 on at

    @harry1848 the column is entirely restricted for all profiles by default, when column security is enabled for a specific column.

    Do you have a profile where read permission for the selected column is ‘Allowed’? If so, double check if this user is part of that profile.

  • Verified answer
    HamidBee Profile Picture
    932 Super User 2024 Season 1 on at

    It sounds like you have encountered an issue with the column security profiles not being applied correctly after importing the solution into your production environment.

    Here are a few things you can check to try and resolve the issue:

    1. Confirm that the column security profiles were imported correctly in the production environment. You can check this by going to the admin center, navigating to the column security profiles, and verifying that the profiles you created in the sandbox environment are present in the production environment.

    2. Confirm that the test user has been assigned the appropriate security role in the production environment. This will ensure that the user has the necessary permissions to access the secured columns.

    3. Confirm that the test user has been added to the column security profile in the production environment. This will ensure that the user is only able to see the data that has been made available to them through the column security profile.

    4. Confirm that the test user is using the correct connection when connecting to the production environment tables in Power BI. The connection should be set up to connect to the production environment, rather than the sandbox environment.

    5. You can also check if the data source used in the Power BI report has been updated to the production environment's data source after import.

    It is possible that there is an issue with the import process that is causing the column security profiles to not be applied correctly in the production environment. If you continue to experience issues, it may be helpful to contact Microsoft support for further assistance in troubleshooting the problem.

    Please let me know if you have any other questions.

     

    If my reply helped you, please give a 👍, & if it solved your issue, please 👍& Accept it as the Solution to help other community members find it more.

  • Harrison_PowerPlatform Profile Picture
    19 on at

    Thank you @hAms and @PowerThomas for your feedback. I did not figure out what exactly was the issue, but I finally resolved it by deleting the solution (and all objects, sec roles, col sec profiles, everything) from the production environment. I then went back to the sandbox solution, and "add required objects" for each object in the solution. Three tables added to the solution, (users table, and two others). I then published all customizations, exported the solution as managed, and imported to the production environment. I had our tester connect to the production environment tables in Power BI, and navigate to the restricted columns. All showed as "null" values. 

    Soo that fixed it, next time I will go back to basics and be sure to check the solution has all required objects and no unmanaged solution layers before importing into prod. 

    Thanks for your feedback!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard