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
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
Thanks Dmytro, that was helpful.
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
Justin Jose
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:
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,
Use Web page access control rules to restrict Web pages for authenticated users. So the unrestricted web pages will be available for anonymous users.
Thanks
Justin Jose
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
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156