OfficeDev / microsoft-teams-apps-requestateam

Power Platform based solution that allows users to request teams and automates team creation. NO LONGER MAINTAINED. Please use 'Provision Assist' - https://github.com/pnp/provision-assist-m365/ instead.
MIT License
235 stars 66 forks source link

Office365Groups.ListGroupMembers failed #368

Closed dav1dbailey closed 2 years ago

dav1dbailey commented 2 years ago

Description

I have followed all of the guidance and using the latest (master). Upon running the App i receive following error:

Office365Groups.ListGroupMembers failed: { "error": { "code": "Request_ResourceNotFound", "message": "Resource '05d73b8d-a3d1-4eaf-8c7d-7593d6e35c33' does not exist or one of its queried reference-property objects are not present.", "innerError": { "date": "2022-07-22T11:02:43", "request-id": "aed10b19-813e-487c-bfff-aeb22c347fbd", "client-request-id": "aed10b19-813e-487c-bfff-aeb22c347fbd" } }

In addition i experience same issue #293 (https://github.com/OfficeDev/microsoft-teams-apps-requestateam/issues/293). Following advice in that post does not fix privacy options not showing (suspect its related to above issue).

Steps to reproduce

Followed the Deployment Guide using the latest Package. Deply.ps1 completes without errors. All manual steps in guide have been followed. Receive following error when running the App

Office365Groups.ListGroupMembers failed: { "error": { "code": "Request_ResourceNotFound", "message": "Resource '05d73b8d-a3d1-4eaf-8c7d-7593d6e35c33' does not exist or one of its queried reference-property objects are not present.", "innerError": { "date": "2022-07-22T11:02:43", "request-id": "aed10b19-813e-487c-bfff-aeb22c347fbd", "client-request-id": "aed10b19-813e-487c-bfff-aeb22c347fbd" } }

Expected results

App should work without error

Actual Results

image

Solution component

Power App

Operating system (environment)

Windows

Additional Info

(NB: I ensured that the app 'OnStart' function 'ListGroupMembers' has been edited and updated with the Group ID from the Team Admin group)

dav1dbailey commented 2 years ago

Additional info: Using the PowerApp debug i can see the following:

The Operation 'ListGroupMembers' has a result of 'Not Found' and Status '404'. The request is:

{ "url": "https://europe-001.azure-apim.net/apim/office365groups/5bd42cf3d9fc43de8b708b53f5a51d90/v1.0/groups/05d73b8d-a3d1-4eaf-8c7d-7593d6e35c33/members", "method": "GET", "headers": { "x-ms-pa-client-telemetry-options": "paclient-telemetry {\"operationName\":\"/providers/microsoft.powerapps/apis/shared_office365groups.ListGroupMembers\"}" }, "body": "" }

dav1dbailey commented 2 years ago

Resolved this by re-importing app and having to remove / re add the App and Flow connections (multiple times!!).