Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Answered

Azure DevOps connector authentication blocked

(0) ShareShare
ReportReport
Posted on by 224

Hello -

I am creating a MS Copilot Studio chatbot within Teams which has an action that calls a Power Virtual Agents Flow. In that power automate flow I am attempting to add a connection to Azure DevOps to send an HTTP request to it. I click 'Sign in' button on the connector, it opens a browser tab in Edge (in which I'm logged in to 365, the power platform and everything else Microsoft) which then spins and fails to authenticate with the following message.

 

"The browser has blocked the connection authentication popup window." See screen shots.

 

I have attempted every browser cache and popup blocker setting I could find.

 

Also note, in a browser instance of Power Automate flow as well as on the flow app within Teams I can make this Azure DevOps connection without any issue. This is only a problem within a flow "embedded" in a copilot chatbot action.

 

Another note, see in the screen shot that I have successfully connected to Outlook.

 

Anyone have a suggestion?

Appreciate the help!

 

2024-03-25_09-31-59.jpg2024-03-25_09-32-37.jpg

 

PS - I posted this same question in the Power Automate community as well.

 

  • Cgangweg01 Profile Picture
    Cgangweg01 224 on at
    Re: Azure DevOps connector authentication blocked

    Hello Suma,

     

    I cannot answer your question about purchases, subscriptions or premium features because frankly I just try stuff until it works or doesn't with whatever license my organization provides. 

     

    In order for the Azure DevOps connector to authenticate when I added it to my flow, I had to access the power automate flow designer in the environment that the chat bot calling the flow is built in. In this case the chat bot was built associated to Teams which apparently is a different environment from where all my others flows which have nothing to do with Teams. I'm sure I'm not explaining this well as I don't really understand it all. Here are few pictures ....

    2024-04-24_13-31-01.jpg2024-04-24_13-22-08.jpg

    Hope that helps.

     

    PS. I'm interested to know what Azure DevOps connector you'll use to access an Azure DevOps wiki?

  • Suma_Sai Profile Picture
    Suma_Sai on at
    Re: Azure DevOps connector authentication blocked

    Hi @Cgangweg01 , I am also trying to build a copilot bot which is published on team. Since my organization has a lot of data in Azure DevOps Wikis, I was asked to use these wikis as the knowledge base for the bot, whenever the user formulates a query the bot  should retrieve relevant wiki's and input the text to the generative AI for the response.  I am  stuck in creating a power automate to fetch the DevOps wikis. Can you please share how you created the connector for DevOps wiki, Should I add any permissions to the app registration, should I purchase any subscriptions to use the premium features of the power automate flow to allow sign in to the DevOps. Your work covers a lot of components which are of interest , can you please share  few details about how you built this infrastructure and how how authored the flow?

     

    Excuse me for asking so many questions. Your help is greatly appreciated.

    Thank you

    Suma

  • Verified answer
    Cgangweg01 Profile Picture
    Cgangweg01 224 on at
    Re: Azure DevOps connector authentication blocked

    Hi -

    I figured this out. When you create a flow from an action in a chat bot, the flow is associated to a Solution in Power Apps. When accessing the flow via the Solution the Azure DevOps connection authenticates without issue.

     

    2024-03-25_15-02-53.jpg

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics