Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Answered

Authenticating a Twitter action in a Virtual Agent Flow / Power Automation

(0) ShareShare
ReportReport
Posted on by 37

Bad news: Twitter is blocking the standard Power Automate actions because of the dispute with Microsoft over advertising. Boo.

 

Good news: the good folks in the Power Automate community came up with a solution that works in Power Automate: creating a dev app in Twitter and using that for a custom Twitter connection in automate. Yay!

 

That said, more bad news: I can't get the custom connection to work in the Virtual Agents Teams app. When I add a Twitter action to a flow in Virtual Agents in the Virtual Agents Teams app, the options are Use default shared application or Bring your own application, for which you can add the key and secret for your app from dev.twitter.

 

Both options are currently giving me the same error:

 

"Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_twitter/connections/shared-twitter...'. error putting existing connection for connector /providers/Microsoft.PowerApps/apis/shared_twitter"

 

A few notes and limitations:

 

  • I'm running a MacBook, so I don't have access to Power Automate for desktop.
  • My Virtual Agent is running entirely in the Virtual Agent Teams app — I'm a noob to Virtual Agents. I have not exported the bot to https://powervirtualagents.microsoft.com/
  • I have a Power Automate flow successfully running with a custom Twitter connection, so I can confirm that solution works.

 

Any thoughts? The community's help is always appreciated!

Categories:
  • Verified answer
    ianhilltegna Profile Picture
    37 on at
    Re: Authenticating a Twitter action in a Virtual Agent Flow / Power Automation

    Solved! At the top right of https://make.powerautomate.com/, I changed my environment to the environment associated with the Teams channel for my Virtual Agent and found the flows for that Virtual Agent. There, I once again followed the instructions linked here to create a custom connection in that environment and used that custom connection in my flow. 

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 49

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 40

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard