Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"User was not found" While following publish steps after Azure login #3324

Closed
1 task
GAURI02X opened this issue Jun 4, 2020 · 8 comments · Fixed by #3359
Closed
1 task

"User was not found" While following publish steps after Azure login #3324

GAURI02X opened this issue Jun 4, 2020 · 8 comments · Fixed by #3359
Assignees
Labels
Area: Publish R10 Release 10 - August 17th, 2020 Type: Bug Something isn't working

Comments

@GAURI02X
Copy link

GAURI02X commented Jun 4, 2020

Subject error with 1.0.0 & 1.0.1 version. I used 1.0.0 version and on first step after Azure login with Hotmail Id, got subject error. Same happened after today's update to 1.0.1

node provisionComposer.js --subscriptionId=XXXXXXXXXXXX --name=XXXX --appPassword=XXXXXXX --environment=Dev

I created a sample project from template but on first publish step again got same error.

Version

Composer version 1.0.0 & 1.0.1
and
SDK runtime packages
4.9.3

Browser

Developing on composer and script execution on command prompt

OS

  • Windows

To Reproduce

Steps to reproduce the behavior:

Hope above steps are sufficient.

Expected behavior

Publish should happen as mentioned in tutorial.

Screenshots

image

Additional context

@GAURI02X GAURI02X added Needs-triage A new issue that require triage Type: Bug Something isn't working labels Jun 4, 2020
@zxyanliu
Copy link
Contributor

zxyanliu commented Jun 4, 2020

Hi @GAURI02X I was wondering if you followed the steps in this doc? Thanks.

@GAURI02X
Copy link
Author

GAURI02X commented Jun 4, 2020

Hi @GAURI02X I was wondering if you followed the steps in this doc? Thanks.

@zxyanliu - As I mentioned that error is on step 3, which is kind of first step because if you see my snapshot, i opened the command prompt pointing to correct location and then it was just npm install.
Not sure if problem is related to tanent id but could you please check if on any machine there are two azure account - one personal (hotmail id) & other organization's . Org azure account has nothing on it but showing as two microft accounts because I logged in to org account for mails & teams & hotmail azure for development.

@zxyanliu
Copy link
Contributor

zxyanliu commented Jun 4, 2020

@GAURI02X ok. So you have two Azure accounts: a personal and a org's account. You tried with your personal azure account and failed, and you did not get the error if using your org's Azure account?

@GAURI02X
Copy link
Author

GAURI02X commented Jun 4, 2020

@GAURI02X ok. So you have two Azure accounts: a personal and a org's account. You tried with your personal azure account and failed, and you did not get the error if using your org's Azure account?

@zxyanliu I am not supposed to use that account till we have POC ready. Can't try with that account but its there on machine and it shows when I do azure login with code provided in command prompt. Could you please help me with workaround or solution. My POC is stuck due to this.

@luhan2017
Copy link
Contributor

@GAURI02X Please refer to this issue #3313

Could you try this:
Add this when you call the provisionComposer.js --tenantId=The_tenantID_under_your_subscription**

You can go to azure portal.
Select the subscription.
You can see the tenantID in the main page.
Directory: Name(YOURTENENTID)

@luhan2017 luhan2017 added R10 Release 10 - August 17th, 2020 and removed Needs-triage A new issue that require triage labels Jun 5, 2020
@GAURI02X
Copy link
Author

GAURI02X commented Jun 5, 2020

Thanks @zxyanliu
Worked with both 1.0.1 & 1.0.0 but next it fails with below error. I have tried various funky names (ike GC-InterruptionSampleFC) for the project (same should be BOT name) but somehow getting this error for all 3 bots from composer. Can you please help on what to change to get this unique.

Creating App Registration ...
Create App Id Success! ID: 0c975a5b-7ac8-4471-9d02-1b2071456bf1
Creating resource group ...
Validating Azure deployment ...
Deploying Azure services (this could take a while)...
{
"error": {
"code": "InvalidBotData",
"message": "Bot is not valid. Errors: The bot name is already registered to another bot application.. See https://aka.ms/bot-requirements for detailed requirements."
}
}
** Provision failed **

@zidaneymar
Copy link
Contributor

Thanks @zxyanliu
Worked with both 1.0.1 & 1.0.0 but next it fails with below error. I have tried various funky names (ike GC-InterruptionSampleFC) for the project (same should be BOT name) but somehow getting this error for all 3 bots from composer. Can you please help on what to change to get this unique.

Creating App Registration ...
Create App Id Success! ID: 0c975a5b-7ac8-4471-9d02-1b2071456bf1
Creating resource group ...
Validating Azure deployment ...
Deploying Azure services (this could take a while)...
{
"error": {
"code": "InvalidBotData",
"message": "Bot is not valid. Errors: The bot name is already registered to another bot application.. See https://aka.ms/bot-requirements for detailed requirements."
}
}
** Provision failed **

Hi @GAURI02X , maybe you should add a unique identifier to your bot name. Have you solved this problem?

@pamela032709
Copy link

@GAURI02X Please refer to this issue #3313

Could you try this:
Add this when you call the provisionComposer.js --tenantId=The_tenantID_under_your_subscription**

You can go to azure portal.
Select the subscription.
You can see the tenantID in the main page.
Directory: Name(YOURTENENTID)

Works for me .Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Publish R10 Release 10 - August 17th, 2020 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants