botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Question] Error Insufficient Privileges to perform this operation, while registering the Bot

Open maheshksingh opened this issue 9 years ago • 11 comments

maheshksingh avatar Jun 27 '17 10:06 maheshksingh

@maheshksingh Were you able to resolve this by using a different MSA account?

nwhitmont avatar Jun 27 '17 14:06 nwhitmont

@nwhitmont ... NO.. I still have this issue, I have raised this with the Microsoft support, and yet to get an answer on this....

maheshksingh avatar Jun 27 '17 17:06 maheshksingh

I get this error when I try generating the APP ID and Password, which takes me to a new page, and then I get this error... not sure whats wrong with my microsoft subscription..

maheshksingh avatar Jun 27 '17 17:06 maheshksingh

@nwhitmont ... yes as you said... I dint try using another MSA account.... the reason being I have already published my BOT from Visual Studio using one MSA account.. and the same MSA account I am using to register the BOT.. can I use different MSA account?... I mean one for Publishing the BOT from Visual studio and another for registering on the BOT portal? will that work?

maheshksingh avatar Jun 27 '17 17:06 maheshksingh

@maheshksingh What happens when you log in to https://apps.dev.microsoft.com ? Do you see an error? If yes, include screenshot.

nwhitmont avatar Jun 27 '17 19:06 nwhitmont

@nwhitmont .. I tried by logging in [https://apps.dev.microsoft.com] and when I try registering an APP nothing happens, The new app doesn't get registered and neither it shows an error message. Not sure whats wrong.

maheshksingh avatar Jun 28 '17 04:06 maheshksingh

What account are you using to log in to https://apps.dev.microsoft.com? Is it a personal MSA account or a work AAD account?

nwhitmont avatar Jun 29 '17 20:06 nwhitmont

Its a work AAD account, cos I cannot login to the same account outside my office network

Another update: I tried creating an app on (https://apps.dev.microsoft.com) using my personal MSA account and that allows me to do so. So its more to do with my AAD account.

The very reason am using my AAD account to register the BOT cos its the same account using which I published the BOT from the Visual Studio and it shows up in my Azure Dashboard.

Now, can I register the same BOT using my personal MSA account? is that possible, I mean publisshing the BOT using the AAD account and Registering it using the MSA account?

I dont see any other alternative :), please help

maheshksingh avatar Jun 30 '17 10:06 maheshksingh

@maheshksingh Yes it's totally fine to register the App ID with your MSA and use another account for Azure publishing.

nwhitmont avatar Jul 07 '17 00:07 nwhitmont

@nwhitmont, Yes you are right, I tried, and I am able to add channels and playing around with it. Thanks.

Now the next challenges, It's like one after the other,

The First is, Inside the Intranet, its a challenge to be connected to both the Microsoft BOT Connector and our local database at the same time. Right now the BOT is in Azure, and when the users launch it, its all good unless the BOT doesnt try to connect the Local Intranet database for some query, the moment it tries to connect, it fails. so trying to host the BOT on the local intranet IIS and try. (Our organization is not yet ready to have the database on Azure, that would have helped thou .. :) )

Next One, I have my Business Skype Infra guy, who ran the commands for registering the BOT for "Skype For Business Online Tenant" and it was successful, then the BOT showed up for a minutes on the Skype, but after a day we are unable to find it on the "Skype For Business", thats strange,

Not sure if you have come across these challenges. Please comment. Thanks.

maheshksingh avatar Jul 07 '17 04:07 maheshksingh

@maheshksingh I'm glad to hear you resolved the original issue.

As for your other issues:

  1. Private LAN configurations and how to access private databases is outside the scope of BotBuilder SDK, try asking this question on Stack Overflow or Googling it.
  2. Skype for Business support is handled by another team. Please open a new GitHub issue, and we will route your question to them.

nwhitmont avatar Jul 07 '17 20:07 nwhitmont