Skip to content

[Reference feedback]: az cosmosdb sql role definition | --id parameter value in example has wrong format #31142

@dbradish-microsoft

Description

@dbradish-microsoft

Type of issue

Other (describe below)

Reference command name

az cosmosdb sql role definition

Feedback

This GitHub issue is being created from UUF #410071.


Request to engineering

Retest the examples for show and list. Is the --id parameter value accurate? Often an Azure resource has an ID that looks something like this: /subscriptions/00000000-0000-0000-00000000/resourceGroups/myRGName, and not just a single GUID. The customer is giving an example of /sqlRoleDefinitions/00000000-0000-0000-0000-000000000001.

Image


Verbatim:

The instructions are not correct for getting the roleDefinitionId. The example omits a portion of the roleDefinitionId, namely /sqlRoleDefinitions/00000000-0000-0000-0000-000000000001 - as given, the instruction produces an error saying that role definition Id must be a GUID.

Verbatim Id:

5a900266-7906-f011-bae1-00224805cf23

UUF Triage App Feedback URL:

https://aka.ms/UUFTriageApp-TEST?pageviewid=dca524d0-6530-3b71-9a3c-d428f68599cf

Page URL

https://learn.microsoft.com/en-us/cli/azure/cosmosdb/sql/role/definition

Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/latest/docs-ref-autogen/cosmosdb/sql/role/definition.yml

Author

No response

Document Id

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions