Get list ID using SharePoint Rest API will raise this error "Permission Denied due to missing connection"

john john Pter 1,060 Reputation points
2025-02-05T14:19:31.55+00:00

I have a manual power automate flow that get called from a Power Apps, the mainly action is to return the list ID based on the passed list title, as follow:-

UmVtCvrE

But a lot of instances failed due to "Permission Denied due to missing connection", although the users who called the floe has Read permission on the list, any advice?

Thanks

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,596 Reputation points Microsoft External Staff
    2025-02-06T08:40:35.5633333+00:00

    Hi @john john Pter

    Good days, thanks for querying in this forum.

    It sounds like you're encountering a common issue in Power Automate related to connection permissions. This error typically occurs when the required connection for a flow is not properly authenticated or lacks the necessary permissions.

    Here are a few steps you can try to resolve this issue:

    1. Verify Connections:

    Ensure that all connections used in your flow are authenticated and have the necessary permissions. You can do this by going to the Data section in Power Automate and checking the status of each connection.

    1. Re-establish Connection: Sometimes, re-authenticating the connection can resolve permission issues.
      1. Go to Power Automate.
      2. Click on Data from the left menu, then select Connections.
      3. Find the connection used in your flow (e.g., SharePoint connection).
      4. Click on the three dots next to the connection and select Edit.
      5. Re-enter the credentials and ensure the connection is successful.
    2. Recreate Connections:

    Sometimes, simply removing and re-adding the connection can resolve the issue. Delete the problematic connection and then create it again.

    1. Check Permissions: Make sure that the user account running the flow has the appropriate permissions for all services and resources involved in the flow. You can let the user run the API command directly to see whether the list ID can be successfully obtained. 02062
    2. Check Access Control List (ACL): Ensure that the connection has been granted the necessary access within the flow.
      1. Open the flow in Power Automate.
      2. Click on Settings (gear icon) for the action that is failing.
      3. Ensure that the "Run only users" permissions are correctly set. The user should have access to the connection.

    If these steps don't resolve the issue, you might want to check the Power Automate community for additional help.

    Kindly consider accepting the answer if the information provided is helpful. This can assist other community members in resolving similar issues.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.