Closed marusic1514 closed 1 month ago
+1
Thanks for raising this @marusic1514 @sepatel Apologies for the experience.
We are soon to release a new update of the SDK that will contain this method and unarchive
As a temporary workaround, you can use:
client.teams().byTeamId("{team-id}").channels().withUrl(
"https://graph.microsoft.com/v1.0/teams/{team-id}/channels/{channel-id}/archive"
).post(body);
@marusic1514 the archive()
and unarchive()
methods are now available in the latest version of the SDK.
Describe the bug
I am trying to archive a channel, following these instructions: https://learn.microsoft.com/en-us/graph/api/channel-archive?view=graph-rest-1.0&tabs=java but there is no .archive() method that I can find. I can delete a channel, following the delete instructions and it works just fine.
Needless to say, unarchive also does not work
Expected behavior
Channel gets archived
How to reproduce
SDK Version
6.13.0
Latest version known to work for scenario above?
No response
Known Workarounds
Managed to find this workaround for now:
Debug output
Click to expand log
```Configuration
No response
Other information
No response