Sharepoint URL converted when accessing from PowerApps custom form

和広 倉野尾 1 Reputation point
2020-11-19T00:51:16.117+00:00

Hello,

I created a sharepoint list with Sharepoint URL inside of it.
The content of this Sharepoint list is then displayed in PowerApps custom form.

Once users are in PowerApps and they click on this Sharepoint URL,
the URL is modified from "https://my-domain.sharepoint.com/sites/..." (where my-domain represents the name of my company)
to "https://content.powerapps.com/sites/..." automatically,
resulting to an Error 404.

I have this issue only with Sharepoint Site URL.
I put a URL of another site and it's working fine.(e.g. www.google.co.jp)

Why Sharepoint Site URL is converted?
How to avoid that?

Best Regards,
Kuranoo

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,199 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2020-11-19T07:18:54.667+00:00

    Hi @和広 倉野尾 ,

    Per my test, I could reproduce your issue on my end. This seems to be a known issue with PowerApps. I found a similar issue in the PowerApps forum here: https://powerusers.microsoft.com/t5/Building-Power-Apps/Links-to-SharePoint-from-PowerApp-not-working/m-p/422203#M124953

    You could try the workaround provided there:

    This seems to be a known bug with PowerApps. I ended up using a Html box and set the Default with a "Substitute" function to replace '/sites/' with 'https://yourdomain.sharepoint.com/sites' and it now works as expected.

    Below is the image attaced there:

    41027-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.