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

Community site session details

Session Id : npOkqZtp9CaSWQVjh9UcE2
Power Pages - Power Apps Portals
Answered

Remove Developer Toolbar In Production Environment

Like (0) ShareShare
ReportReport
Posted on 18 Nov 2020 15:48:51 by 118

Hello everybody,


I've been developing an application on DEV environment and, after finishing it, I moved it to PRO environment. However, the following toolbar shows up to my users and it doesn't have to, because it is solely for developing purposes:

 

MS5_0-1605713762073.png

 

The users that suffer from this are not admin. What could be causing this?

 

Thank you!

 

  • MS5 Profile Picture
    118 on 24 Nov 2020 at 18:05:10
    Re: Remove Developer Toolbar In Production Environment

    Thank you very much, Oliver, and excuse me for delaying my reply. This absolutely was the issue and I fixed it by switching it off. 

  • Verified answer
    oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 20 Nov 2020 at 08:52:45
    Re: Remove Developer Toolbar In Production Environment

    in regards your snapshot of the Web Role.

     

    The "Authenticated Users role" checkbox means that that Web Role is always assigned to a user once they sign in to your Portal. We should have only one Web Role with that enabled, and that shouldn't be the Admin web role, more likely to be the Authenticated Web Role or a custom one.

     

    The web role is automatically assigned but you can't see under the Contact record that they have it, it is a special flag I'd say.

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 20 Nov 2020 at 08:50:25
    Re: Remove Developer Toolbar In Production Environment

    Hi, well, that Web Page Access Control Rule is specific to enable the front-end editor.

    Your admin user will still be able to clear the cache if needed. I don't feel like is an overkiller solution.

     

    You can remove that option as well from a few Web Templates (would require a good bit of re-factor), but there would be more that you can't access directly from the source code

  • Fubar Profile Picture
    8,037 Super User 2025 Season 2 on 19 Nov 2020 at 22:48:57
    Re: Remove Developer Toolbar In Production Environment

    @MSS set it to No (Yes is not the default setting, someone has changed it without realising what it means).  Authenticated Users Role = Yes means that any logged in user will inherit the Web Role and be able to do stuff you do not want them to (if multiple Roles as set to Yes only one will get inherited).

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/create-web-roles 

  • MS5 Profile Picture
    118 on 19 Nov 2020 at 16:04:25
    Re: Remove Developer Toolbar In Production Environment

    Thank you for your reply, Oliver.

     

    I tried your proposed solution and it works. However, I think that's like killing a mosquito with a gunshot.

     

    I think there might be something there causing authenticated users to be recognized as administrators. Look at this, does it say anything to you?

     

    MS5_0-1605801758628.png

     

    I don't want to touch anything until I'm sure that's the root cause. Please, tell me if I'm right about this.

     

    Thank you!

     

  • Fubar Profile Picture
    8,037 Super User 2025 Season 2 on 18 Nov 2020 at 22:10:56
    Re: Remove Developer Toolbar In Production Environment

    You can also just remove the out of the box "Administrator" Web Role from the Contact record.

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on 18 Nov 2020 at 17:53:28
    Re: Remove Developer Toolbar In Production Environment

    Hi, you can remove that by simply deactivating the below "Web Page Access Control Rule":

    OliverRodrigues_0-1605721995241.png

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35

Loading complete