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

az bot authsetting show - Scopes filed is not returned by az bot authsetting show #1333

Open
dawwa opened this issue Jan 21, 2022 · 0 comments
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@dawwa
Copy link

dawwa commented Jan 21, 2022

Version
2.22.1

Describe the bug
Scope is not included in the return value of az bot authsetting show

To Reproduce

  • Create a Bot Auth Setting MyTestAuthSetting with Azure Active Directory v2
  • Fill up the fields and have some test value in the Scopes filed.
  • In PowerShell, try to use the following code to loop through all the properties in the return result.
# Load setting details
$sourceSettingDetail = az bot authsetting show --subscription $subscriptionId --resource-group $resourceGroup --name $botName --setting-name "MyTestAuthSetting" | Out-String | ConvertFrom-Json
		
# Check the returned value
$parameters = @()
foreach ($parameter in $sourceSettingDetail.properties.parameters) {
	Write-Host $parameter
}

Expected behavior
The Scopes field value can be found in the return result

@dawwa dawwa added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant