Showing results for 
Search instead for 
Did you mean: 
New Member

VSTS using PAT for connections



as I have several VSTS Accounts that use different credentials from different Azure ADs, wouldn't it be good to have the options to use Personal Access Tokens for the connections in flow?


At the moment building a flow with VSTS items is nearly impossible, as the flow does not really support handling different Azure AD accounts from different tenants. And it becomes even more worse if these credentials are MFA enabled or use onprem ADFS for authentication. Flows will then work only for the lifetime of the token, so round about one hour ...


Any Idea on this?

Community Support
Community Support

Re: VSTS using PAT for connections

Hi @ someoneelse,


The options to use Personal Access Tokens for the connections of Visual Studio Team Services is not supported in Microsoft flow currently, If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:


How would you handle different Azure AD accounts from different tenants?You could refer to link below to configurable token lifetimes in Azure Active Directory



Alice Zhang

Helpful resources


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (8,383)