Skip to content

Bug report: Teams channel validation fails when channel ID contains _ (underscore) or - (dash) #2594

@waldekmastykarz

Description

@waldekmastykarz

Description

Teams channel validation fails when channel ID contains _ (underscore)

Steps to reproduce

m365 teams channel get --teamName Contoso --channelId 19:[email protected]
m365 teams channel get --teamName 'Sales and Marketing' --channelId '19:[email protected]'

Expected result

CLI retrieves information about the specified channel

Actual result

Error: 19:[email protected] is not a valid Teams ChannelId

Environment

Latest CLI

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions