Skip to content

Get-MgTeamChannel [Shared Channels shared with users only are not reported back] #3622

@JohanssonMarkus

Description

@JohanssonMarkus

Describe the bug

A shared channel can be shared with users/indiividuals or with Teams.
I have a Shared Channel in a team which is only shared with users/indiividuals and by running
Get-MgTeamChannel -TeamId $GroupID
this channel is not reported back.

Expected behavior

All Shared Channels are homed in a Team/M365 unified group and even if not shared with a team is should be liseted as it exist and have a "Owning Team"

How to reproduce

Create a Shared Channel and share it with users only (not with the owning Team either)
Run Get-MgTeamChannel -TeamId $GroupID and that channel will not be listed (meaning IT can not see it exist when runing inventory)

SDK Version

7.6.2

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

 $PSVersionTable                                                                                                     

Name                           Value
----                           -----
PSVersion                      7.6.2
PSEdition                      Core
GitCommitId                    7.6.2
OS                             macOS 26.5.0
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions