Skip to content

Failed to execute GetThreadRosterAsync #3296

@carles-unibas-ch

Description

@carles-unibas-ch

Describe the bug

upgrade version from 2.26.1 to 2.27.0 errors our automation.

Get-MgTeamChannelMember error: Failed to execute GetThreadRosterAsync. Status: 403 (Forbidden) ErrorCode: Forbidden Date: 2025-04-24T11:30:39 Headers: Vary : Accept-Encoding Strict-Transport-Security...

Expected behavior

Get-MgTeamChannelMember OK

How to reproduce

  • Execute
Install-Module -Name "Microsoft.Graph.Teams" -Scope CurrentUser -Force -ErrorAction Stop -Confirm:$FalseImport-Module -Name "Microsoft.Graph.Teams" -Scope Local -Force -ErrorAction Stop
Get-MgTeamChannelMember -TeamId "XXX" -ChannelId "YYY"
  • see error
  • Execute
Install-Module -Name "Microsoft.Graph.Teams" -Scope CurrentUser -Force -ErrorAction Stop -Confirm:$False -RequiredVersion 2.26.1
Import-Module -Name "Microsoft.Graph.Teams" -Scope Local -Force -ErrorAction Stop -RequiredVersion 2.26.1
Get-MgTeamChannelMember -TeamId "XXX" -ChannelId "YYY"
  • no error

SDK Version

2.27.0

Latest version known to work for scenario above?

2.26.1

Known Workarounds

Use stable version:

Install-Module -Name "Microsoft.Graph.Teams" -Scope CurrentUser -Force -ErrorAction Stop -Confirm:$False -RequiredVersion 2.26.1
Import-Module -Name "Microsoft.Graph.Teams" -Scope Local -Force -ErrorAction Stop -RequiredVersion 2.26.1
Get-MgTeamChannelMember -TeamId "XXX" -ChannelId "YYY"

Debug output

raw.log

Click to expand log ```
</details>


### Configuration

_No response_

### 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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions