My flow throws a forbidden error when trying to publish to Teams.
{"statusCode":403,"headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"c594c2dd-621d-4317-a884-b9f0ba99e2a3","client-request-id":"c594c2dd-621d-4317-a884-b9f0ba99e2a3","x-ms-ags-diagnostic":"{\"ServerInfo\":{\"DataCenter\":\"West Central US\",\"Slice\":\"E\",\"Ring\":\"1\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"CY4PEPF00005445\"}}","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"false","Date":"Tue, 06 Apr 2021 01:00:35 GMT","Content-Type":"application/json","Content-Length":"272"},"body":{"error":{"code":"Forbidden","message":"Forbidden","innerError":{"date":"2021-04-06T01:00:36","request-id":"c594c2dd-621d-4317-a884-b9f0ba99e2a3","client-request-id":"c594c2dd-621d-4317-a884-b9f0ba99e2a3"}}}}
Hi @wacdep
Thank you for your update.
To refresh Teams connection help us prevent potential issue. So we recommend manually refresh it because sometimes the system couldn't detect the failure.
We can confirm our license information if we can go to O365 admin portal as company administrator. (https://admin.microsoft.com/Adminportal )
We can navigate to Users > active users, and then pick up your account.
After that, click on your account and check if you have Teams and Power Automate subscription included.
Hope the content above may help you.
Thanks
Anna
The connection doesnt show as broken actually. It is fine.
How do I do this -> , please pay attention to license requirement. Make sure you have been assigned necessary licenses already.
Hi @wacdep
Thank you for posting.
According to your description, you are encountering forbidden error while connecting to Teams via flow. If any misunderstanding, please kindly let me know.
Normally, we have different solutions for different kinds of error messages accordingly. If we get error code 403, it should be caused by authentication failure.
Please help to re-establish connection to Teams. Then re-submit the flow and run again.
Meanwhile, please pay attention to license requirement. Make sure you have been assigned necessary licenses already.
Here are some other troubleshooting methods related to different error codes. You can take a look just in case.
https://docs.microsoft.com/en-us/power-automate/fix-flow-failures
https://docs.microsoft.com/en-us/power-automate/triggers-troubleshoot
Hope the content above may help you.
Best regards,
Anna