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 / Is there a way to expo...
Power Pages
Answered

Is there a way to expose CRM data for customers without any login via unique URL link or something similar?

(0) ShareShare
ReportReport
Posted on by 82

Hi All,

 

is there a way to expose CRM data for external users without any login via unique URL link or something similar?

 

Example: customer will get sms/email with this unique link > customer will open it > the portal will show the customer's data from CRM

 

Best regards,

Miha

Categories:
  • - Matt Bayes - Profile Picture
    91 on at

    Hi Miha,

     

    Since the portal works with using Query String parameters, using the primary key as the identifier for loading the record(s), you can build the URL in that format for the specific user.

    Since you do not want the user to sign in, your page(s) must be in an anonymous setup. You will need to make sure you setup the navigation of the portal to hide specific pages for anonymous users so they cannot go snooping around.

    Once you setup the Entity Form on the Webpage with anonymous access, you can then send the user via email or SMS the link. This link will be in a format similar to:  https://portal_url/page/?id=xxx where the id parameter is the GUID of the specific customer you wish to render. I am unsure how you will be sending these off, either manually or automatically, but the GUID will need to be retrieved from the record either by yourself and input into the SMS/email for sending, or a custom process built to retrieve the GUID from the PrimaryEntityId of the associated record.

    To summarize, you should be able to setup anonymous access to the specific entity form/webpage on your portal, and as long as you have the URL for the customer in the format with the query string parameter of the GUID you should be able to load that customer's information.

     

    If you need anymore clarification or assistance please don't hesitate to reach out.

    Thanks!

     

    Matt Bayes

  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Short answer is yes, and please see @mbayes reply with a few options there.

    But the question here is why do you want to expose your customer's data without them being authenticated? Please consider possible data privacy issues here. It would be very unlikely that a user would just guess another user's GUID and see the details.. but still.. this is data protection and I would recommend you enforce them to sign-in.

     

    again, this depends on your requirement and the level of information being displayed 

  • mihamocnik Profile Picture
    82 on at

    @mbayes 

     

    thank you for the solution! Is there a way to have it encoded with e.g. 100char random string and the portal would be able to decode it based on the encryption key and later on show the data to the user?  

  • mihamocnik Profile Picture
    82 on at

    @OliverRodrigues 

     

    thank you! I agree that there should be something more secure way to do the job. Is there a way to auto authenticate the user based on the link? I just want to cover simple steps without any additional steps with registration/login etc. because of the nature of process - users wont go to the portal (or give up during the process) and do what they are aseked in the first email/sms.

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

    You can't auto-authenticate users. Can you imagine suddenly you open a website for the first time and you are already authenticated? that would be very dangerous.

    In terms of login, if you want you can use the invitation process to invite your users to the Portals. Take a look at the last Portals community call, Nick talks exclusively on the invitation process: https://www.youtube.com/watch?v=htnATPzS28g

    We don't recommend using local authentication, but they are still available if you want. You could setup users and passwords in the back-end and send to the users in a separate SMS/e-mail.

  • mihamocnik Profile Picture
    82 on at

    @OliverRodrigues ,

     

    I was thinking more in a way to have in encrypted as https://portal_url/page/?id=TtTJv+n83vtQV3ojNu7np+b/zL6KlRYSBbI2amxLNwkycGHOnagztrVEJHbfGVi9 and then decrypt it on autologin. I get it, this is something that can not be done. Thank you for all!

     

    BR,

    Miha

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
Mohsin Ali Profile Picture

Mohsin Ali 18

#2
11manish Profile Picture

11manish 14 Super User 2026 Season 2

#3
SP2019admin Profile Picture

SP2019admin 4

Last 30 days Overall leaderboard