question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"User was not found" when running node provisionComposer.js

See original GitHub issue

Describe the bug

When I run the provisionComposer.js script I get the error “User was not found”

image

I’m using an MSDN subscription The user running the command is account admin on that subscription and has permissions to create app registrations - I have created them through the Azure CLI and through the portal successfully

I get a similar error when I create the app registration first image

Version

I’m using release 1.0.0

Sha: 414f00d2896885959f91074dd70c3187fdf1b2cf

Browser

  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior

Screenshots

Additional context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
GAURI02Xcommented, Jun 4, 2020

@benbrown @zidaneymar @cwhitten Hi Team, This is not working. I created a new project from template (AskingQuestionsSample) from 1.0.1 version. I still get same error. Also, could you please let me know how to fix the project created with 1.0.0 version. Its still showing “user was not found.”

1reaction
sandeeptalabathulacommented, Jul 30, 2020

Looks like provisionComposer.js script is picking up the first one in the list and which might not be your intended one. image

Try adding below parameter: --tenantId=<AAD Tenant Id>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deployment Trouble. How can I fix the error returned by "node ...
Specifically, the following script failed and returned the error stating "user not found". node provisionComposer.js --subscriptionId= --name= ...
Read more >
Common errors | npm Docs
Common errors · Errors · Broken npm installation · Random errors · No compatible version found · Permissions errors · Error: ENOENT, stat...
Read more >
Unable to publish my bot built with Bot Framework Composer
But I could not find a way to publish it. ... The command I use is as below: node provisionComposer.js --subscriptionId=<YOUR AZURE ...
Read more >
瀬尾佳隆 - Twitter
Failed to create Azure resouces with Microsoft account. github.com. "User was not found" when running node provisionComposer.js · Issue #3160 ...
Read more >
Deploy Bot Composer to Azure - flt. home
The Microsoft Bot Composer team ships a nodeJS based deployment script that ... by running the scripts and editing the parameters available.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found