web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error with Office365Gr...
Power Apps
Answered

Error with Office365Groups connector

(0) ShareShare
ReportReport
Posted on by 65

My app has worked until today when I got this error

Office365Groups.ListOwnedGroups failed: { "error": { "code": 500, "message": "The given key was not present in the dictionary.\r\n at System.ThrowHelper.ThrowKeyNotFoundException()\r\n at System.Collections.Generic.Dictionary`2.get_Item(TKey key)", "source": "msmanaged-na.azure-apim.net", "path": "choose[2]\\when[1]", "clientRequestId": "096c5cf3-4c92-4c16-91cc-6e2c89d57360" } }

I am using the "Office365Groups.ListOwnedGroups().value" on a gallery. I check to see if I still own a group and I do. Can someone walk me through this error? I need to explain more or If I put this in the wrong section please tell me. Thank you

Categories:
I have the same question (0)
  • martinav Profile Picture
    3,347 on at

    @zdieter,

     

    You have done nothing wrong.  I have done this as well, and mine have been working for several weeks.  Just this morning, this error started showing up!  You are only the 2nd Ive seed report this, and no replies to my post.  It appears this must be some MS issue.  I have not heard back from MS yet either.

     

    My post:

    https://powerusers.microsoft.com/t5/General-Discussion/Unexpeted-quot-Office365Groups-ListOwnedGroups-failed-quot-Error/td-p/170960

     

    If  you have existing usage of Office365groups in MS Flow, those are also affected.  But, it seems the flows still work with the last time it connected.  If you look at the source, you get this same error:

     

    image.png

     

  • Tom_Slosse Profile Picture
    1,430 on at

    Hey 

     

     

    I'm encountering the same problem as you guys.

    So I guess this some kind of bug from Microsoft.

     

    @zdieter@martinav You should post your problem on the Flow community too.

     

    Kind regards

     

    Tom

  • martinav Profile Picture
    3,347 on at

    Yep, did!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    All, I have the same issue today across three separate tenants. How do we get this escalated as this is a production issue!! flowissue.PNG

  • programmerwwjd Profile Picture
    2 on at

    Same here on powerapps

     

    Office365Groups.ListOwnedGroups failed: { "error": { "code": 500, "message": "The given key was not present in the dictionary.\r\n at System.ThrowHelper.ThrowKeyNotFoundException()\r\n at System.Collections.Generic.Dictionary`2.get_Item(TKey key)", "source": "msmanaged-na.azure-apim.net", "path": "choose[2]\\when[1]", "clientRequestId": "2b22446c-6706-4391-a9ce-baa6f9298cba" } }

     

    All apps broken here. Please help!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So, a workaround seems to be pasting in the Group ID (found in Azure - Groups) but this was definitely working properly a couple of days ago.

  • cherie Profile Picture
    Microsoft Employee on at

    Thanks for letting us know. The team is aware and looking into it.

  • martinav Profile Picture
    3,347 on at

    @Anonymous,

     

    Yes, I did figure that out earlier.  However, I have a group list in a gallery, and that is completely broken.  It holds the last values, but the gallery will not refresh.  Fixing this issue is the only thing that will fix one of my apps.  Thanks again.

  • martinav Profile Picture
    3,347 on at

    @cherie,

     

    Thank you for confirming that!

     

     

  • cherie Profile Picture
    Microsoft Employee on at

    The fix has been deployed. It should be working now.

     

    Thanks!

    Cherie

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 316 Most Valuable Professional

#2
11manish Profile Picture

11manish 242

#3
Valantis Profile Picture

Valantis 198

Last 30 days Overall leaderboard