Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Web file in customer portal can't be downloaded for users without Portal Administrators role

Posted on by 30

Hi everyone,

Good day!

We created a customer portal through power apps.

There we made a resource download section to publish some technical documents to our clients.

The documents are attached as Web File memo in Dynamics CRM and can be opened normally in Dynamics.

However, when going to our customer portal, only users associated with "Portal Administrator" web role can download the documents.

Other users just got an error message "Access denied" and the download failed.  

Comparing "Portal Administrator" role with other roles, I didn't find any different access restrictions, entity or web page access, all is the same.

In addition, both roles can normally access the mother web page, just showed different download results.

Any ideas, please kindly share it with me,  thanks in advance!

  • Audrey Ma Profile Picture
    Audrey Ma 30 on at
    RE: Web file in customer portal can't be downloaded for users without Portal Administrators role

    Any ideas about this issue, please kindly share with me!  Really really really need your help!

  • Audrey Ma Profile Picture
    Audrey Ma 30 on at
    RE: Web file in customer portal can't be downloaded for users without Portal Administrators role

    Hi Soumen,

    Thank you for your quick feedback!

    I'm still a little confused about the "Parent Entity" access configuration.

    Since all of our documents are saved through "Web file", I set the "Son Entity" and "Parent Entity" as below, but didn't work.

    Parameter Son Entity Parent Entity
    Entity annotation  adx_webfile
    Scope Parent Globa
    Privilege All accesses except delete All accesses except delete

    It would be really appreciated if you can share the "Parent Entity" setting with us.  Thanks in advance!

    2020_2D00_11_2D00_12_5F00_16h05_5F00_11.png

    2020_2D00_11_2D00_12_5F00_16h07_5F00_57.png

  • Suggested answer
    Soumen S Profile Picture
    Soumen S on at
    RE: Web file in customer portal can't be downloaded for users without Portal Administrators role

    Hi,

    Please go into the detail view of the entity permission and verify the parent entity permission and web roles as well. For example if you are uploading document for a case notes then the parent should be case activity. Now in the parent please check the relationship you selected based on that only the required users will be able to download the files. IF you select the scope as shown below then the case contact and customers can download the files

    pastedimage1605161306885v1.png

    pastedimage1605161444774v2.png

  • Audrey Ma Profile Picture
    Audrey Ma 30 on at
    RE: Web file in customer portal can't be downloaded for users without Portal Administrators role

    Hi Soumen,

    Thank you for your reply!

    I tried adding an Entity Permission for "annotation" as below, but still got the same error "access denied".

    In addition, I also tried the method you mentioned in the following link.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure-notes 

    Unfortunately, after configuration finished, "Add Notes" button didn't appear...  Seems that neither works at present.

    2020_2D00_11_2D00_12_5F00_14h32_5F00_47.png

    As a supplement, the documents are now added as Notes in "Web file" and documents related info(name, overview)can be viewed normally in our portal.  Only download failed due to "access denied".

    Is it originally impossible for us to manage documents in the portal through Dynamics "Web file"? 

    2020_2D00_11_2D00_12_5F00_14h40_5F00_16.png

    Any other advice, please kindly share it with me!

  • Soumen S Profile Picture
    Soumen S on at
    RE: Web file in customer portal can't be downloaded for users without Portal Administrators role

    Article for reference: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure-notes 

  • Suggested answer
    Soumen S Profile Picture
    Soumen S on at
    RE: Web file in customer portal can't be downloaded for users without Portal Administrators role

    Hi,

    Please check and configure entity permission properly . If you are trying to download the attachment on a note then check the permission for annotation if its not there create one 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans