Hide lists for the Sharepoint site: Limit access to PowerApps only

Mateus Roberto Wilke 21 Reputation points
2022-04-13T14:39:02.477+00:00

I need to restrict access to sharepoint lists by PowerApps only; the reason: I restricted access according to users' email. We do not want users to access this information through the sharepoint site as they would have unrestricted access.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,406 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,615 questions
{count} votes

Accepted answer
  1. Xuyan Ding - MSFT 7,561 Reputation points
    2022-04-14T10:18:53.837+00:00

    Hi @Mateus Roberto Wilke ,

    Per my research, we are not able to restrict access to PowerApps by the user in SharePoint. If you do not want users to access PowerApps through the SharePoint site, then it is recommended that you disable PowerApps functionality directly on the page, making it invisible. You could use spfx to upload custom css file to SharePoint online to hide the button.

    References to third-party documentation: Disable PowerApps button on list/document library
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


1 additional answer

Sort by: Most helpful
  1. Rohit Mishra 1 Reputation point
    2022-07-08T19:33:45.253+00:00

    Hi @Mateus Roberto Wilke ,

    In addition to options suggested by @Xuyan Ding - MSFT , you can also hide the list using PowerShell script. Please note that this would hide the list from site contents page but list can still be accessed using url.

    The other option which I can think of could be calling custom api (say azure function) to get data from SharePoint (using app only permission by registering an app) and not assigning other users permission on the list.

    Hope this helps.

    Regards

    0 comments No comments