Forum Discussion

Petri-X's avatar
Petri-X
Bronze Contributor
Jun 08, 2022

Create a BOT just hanging

Hi,

Just tested how the bot process should start and go to the "Bot Management" on Developer Portal. There I had a button [Create], but that only leads me to never ending loop:

Both "Quick create Bot" and "Existing Bot registrations" just rolling.

 

I believe I'm lacking of accesses, but somehow I'm expecting to get an error message from that. But these are just rolling.. :cool:

  • Sometimes I wish the Teams PG must read their own error messages.

     

    The request what Teams client was trying to use was:

    Request URL: https://dev.teams.microsoft.com/api/aadapp

     

    And for that I got the 403:

    {"resultType":2,"result":null,"errorMessage":"Insufficient privileges to complete the operation."}

     

    Luckily my colleague found configuration to be check, and the issue was actually in Azure:

     

    When App registrations is allowed for users, then creating Bot works as expected.

  • Petri-X - We tried to repro the issue but its working perfectly fine at our end. Please try to update your MS Teams version and check by restarting it.

     

    • Petri-X's avatar
      Petri-X
      Bronze Contributor

      Hi Prasad_Das-MSFT 

      Yes, I did not thought this is a global issue 🙂

      And as this is happening on Web App version, I believe update/clearing cache makes no difference.

       

      I believe this would be more likely an access issue. But not sure what, as Teams is only hanging without giving any error message and as from Azure sign-in logs I cannot find any indication of the access troubles. Something would be missing, but what 🙂

       

      I'm not a great fan of running Teams (nor other general apps) with higher credentials than regular user, so running Teams as GA should not be the solution 🙂

Resources