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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

MS CRM Portals: Web page access to Anonymous

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Dmytro Rutkovskyi Profile Picture
    1,835 on at

    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

  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    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

  • Community Member Profile Picture
    on at

    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.

  • Verified answer
    Dmytro Rutkovskyi Profile Picture
    1,835 on at

    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:

    non_2D00_auth_2D00_example.jpg

  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    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

  • Community Member Profile Picture
    on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans