@Francisco Saez - There doesn't seem to be any way available to give permissions to a Channel instead of users in channel.
You can suggest this feature here: Microsoft Teams Community
Graph API (Java): Grant a (Team) Channel permissions to access a user file
Francisco Saez
0
Reputation points
Hi,
how can I give permissions to a full (private) Channel from a Team to access any user file in Onedrive/Sharepoint.
I'm using the Java API with application access.
I've tried with these endpoints:
POST /shares/{encoded-sharing-url}/permission/grant
POST ..../items/{itemId}/invite
But they only let the recipient list to contain users or groups. So I can set permission for the whole Team but not for individual channels.
Any suggestion?
Thanks
1 answer
Sort by: Most helpful
-
Nivedipa-MSFT 3,031 Reputation points Microsoft Vendor
2023-05-08T08:40:20.83+00:00