Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

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

@dawwa

Description

@dawwa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions