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 Pages / Newbie Question #2 - H...
Power Pages
Answered

Newbie Question #2 - How do I remove sign in from my menu?

(0) ShareShare
ReportReport
Posted on by 13

Making a fully anonymous portal so I want to remove all sign-in links/info and search. 

 

I've disabled search, deactived pages etc and all the options on the sign-in page in my portal, but I haven't figured out how to find a way to disable "sign-in" in my portal menu or the actual sign-in page. Is there a way to do this?  The menu is more important athestically, but be good if I could find a way to disable the sign-in page too. 

Categories:
  • Verified answer
    oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    I recommend avoid deactivating the Web Pages itself, there are a few Site Settings that can help you with that

     

    in regards disable login, I wouldn't really recommend that, you might need to clear the cache from time to time in your Portal to reflect the most recent configuration, I am giving two options to disable login below here

     

    Disable Search:

    set the Site Settings "Search/Enabled" to false

     

    Disable Login (personally I don't recommend):

    set below site settings to false, you will need to Restart the portal via Admin Center to reflect, as some of this are loaded when the website starts in Azure/server level: https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/admin-overview

    • Authentication/Registration/Enabled
    • Authentication/Registration/AzureADLoginEnabled
    • Authentication/Registration/ExternalLoginEnabled
    • Authentication/Registration/InvitationEnabled
    • Authentication/Registration/LocalLoginEnabled

    Even by deactivating the above, the SignIn link will still be present on the menu, and you need to hide it via JS, which comes to my recommended approach

     

    Disable Login (recommended):

    Leave at least one login type enabled for clearing cache purposes, and hide the sign in via JS

    • Open the Web Template Header, and at the bottom there is some JavaScript code, within the window.onload function add the following code:
    $('a[href^="/SignIn"]').hide();

    hidesignin.PNG

    • The above will hide the SignIn link, but you might notice that there is a small delay, and the user will still know that the SignIn exists, so I recommend changing the SignIn text to a simple "-" or "."
    • Create a Content Snippet called "links/login" with the text

    snippet.PNG

     

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • lukas_nz Profile Picture
    13 on at

    Thanks, this is perfect! Super appreciate Oliver!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 139

#2
Mohsin Ali Profile Picture

Mohsin Ali 41

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard