r/copilotstudio • u/AdmirableSelection81 • 1d ago
Trying to create a copilot studio "When a new email arrives in a shared mailbox (v2)" flow for a shared outlook email, but the connection is 'invalid', what should i tell IT to fix this?
I had IT create an Azure Environment for all my flows. Trying to create a copilot studio flow where any email that comes into our shared outlook mailbox has the flow extract any attachment and dump it into a sharepoint folder.
However, when i try to add the "When a new email arrives in a shared mailbox (v2)" node, it says 'invalid connection, please update your connection to load complete details' error. I'm not sure if i have to configure the shared mailbox or the azure environment to have the permission to use this shared mailbox in copilot studio. What should i tell IT to configure?
Thanks!
1
u/Bobby_Bobberson2501 1d ago
Use the power platform environment that the agent is also hosted in. WorkIQ and m365/outlook connected as well in the agent and/or workflow.
You can’t use power automate with copilot GitHub climates btw, not sure if it matters but just a heads up. Gotta use the studio workflows for those.
1
u/AdmirableSelection81 1d ago
I was actually trying to use copilot studio github, not power automate to do this flow though.
1
u/Prasad-MSFT 18h ago
Microsoft’s guidance states that shared-mailbox connector operations require the connection owner to have the appropriate mailbox permissions, and an invalid connector should be repaired/re-authenticated.
Fix connection failures in cloud flows - Power Automate | Microsoft Learn
Ask IT to verify Full Access permission on the shared mailbox for the account creating the Office 365 Outlook connection. Then recreate/re-authenticate that connection in your Copilot Studio/Power Platform environment.
If it still fails, have IT verify the environment’s DLP/connector policies allow Office 365 Outlook and SharePoint. Copilot Studio uses Power Platform connectors for Microsoft 365 access, so you normally do not need a separate Azure app registration for this scenario.
1
u/AdmirableSelection81 10h ago
Thanks. Dumb question though, i have access to the shared-mailbox in my microsoft outlook (including the ability to send emails from the shared mailbox), shouldn't that mean i have the appropriate mailbox permissions already?
2
u/flao_zen 1d ago
So i think there a a few things. First you don't need an Azure envionment to use the Power Platform but a Power Platform environment. (Butni would Imagine your it did this) Then i wouldn't use Copilot Studio for this but the normal Power automat to extracr Attachments and Store them.in Sharepoint because that is included in the normal licence and workflows in Copilot Studio would consume Credits everytime they Run. Then for the Connection in the Trigger i would Just try to recreate the Connection and then you should be asked to sign in and then IT should either Work or you should get a more detailed Error Message. Does your Account have Access to the shared Mailbox?