Notifications
Announcements
No record found.
How can I give access of web page to Anonymous Users alone in MS CRM Portals. (Not to another web role)?
*This post is locked for comments
Hello, you can use Restrict Read permission to Anonymous Role in "Web page access control rules" and assign this rule to your page.
More details about access control rules are here: docs.microsoft.com/.../webpage-access-control
As well you can limit part of content of the page to users in different roles with liquid.
Example with roles can be found here: community.adxstudio.com/.../user
Hi Revanth,
Use Web page access control rules to restrict Web pages for authenticated users. So the unrestricted web pages will be available for anonymous users.
community.dynamics.com/.../hide-a-primary-navigation-link-using-web-page-access-control-rule-in-portals-in-dynamics-365
Thanks
Justin Jose
Hey Dmytro,
I have given the web page with Restrict read right to Anonymous users web role alone.
It's showing access denied for logged-in user but it's redirecting to sign-in for anonymous users.
Hi Revanth,I'm sorry. Looks like this functionality requires to access user web roles to work, and can't retrieve default "Anonymous" from not authenticated user. I assume you need a quite simple page. You can achieve this with liquid. You can create new Page Template, which is webtemplate type, put this liquid as webtemplate content:
{% extends 'Layout 1 Column' %} {% block title %} {% if user %} {% include 'Page Header' title: 'Access Denied' %} {% else %} {% include 'Page Header' title: pagetitle %} {% endif %} {% endblock %} {% block main %} {% if user %} Some Details why they can't see this page {% else %} {% include 'page_copy' %} {% endif %} {% endblock %}
Make sure you update Page template for your page and localized version of the page.
I can receive something similar to what you need. You can update as well breadcrumbs to hide Page title if you need:
Hi Ravanth,
As I said you have restrict authenticated users not anonymous users. I am not sure this is what you expecting.
for example there are 4 web pages and Web page1, Web page2, Web page2 and Web page4
if you want give access to Web page1, Web page2 for anonymous users. Restrict Web page3 and Web page4 using any authenticated web role. So only logged in user can see Web page3 and Web page4.
Thanks Dmytro, that was helpful.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2