Azure / Azure/azure-quickstart-templates

MSA App ID already in use thrown every time creating a new Bot Service from ARM template

Open
#4,931 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

**Describe the bug**
Error: "MSA App ID already in use" thrown 3 times while provisioning a new Bot Service in Azure using ARM Template.
Each time I have deleted existing and created a new registration on https://apps.dev.microsoft.com portal and also deleted the incorrect resource group provisioned on Azure Portal.

**To Reproduce**
Steps to reproduce the behavior:

1. Deploy any Bot Service using ARM template
2. Provide AppID and Secret generated after App Id Registration
**Expected behavior**
It should work because the new app registration is done and it is being used in ARM template and PS script using command:
```

$result = New-AzureRmResourceGroupDeployment `
-DeploymentName $deploymentName `
-ResourceGroupName $ResourceGroupName `
-TemplateFile $Template `
-TemplateParameterFile $TemplateParameters `
@additionalParameters `
-Verbose
```
**Screenshots**
Please refer to screenshot below:
https://user-images.githubusercontent.com/98785/42692408-38816ae2-86c9-11e8-82ac-9f49ad89cee7.png

**Desktop (please complete the following information):**

OS: Win 8.1 Enterprise
Browser: N/A

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the deployment described with the ARM template, template parameter file, and New-AzureRmResourceGroupDeployment command from the report. Verify whether a newly registered App ID and secret still produce the “MSA App ID already in use” error; done means identifying a template or deployment cause, or documenting the remaining Azure-side failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.