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_
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
```