@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
Microsoft Teams Development
4,109 questions
Microsoft 365 and Office OneDrive For business Windows
2,561 questions
Microsoft Security Microsoft Graph
13,721 questions
Microsoft Teams Microsoft Teams for business Other
10,904 questions
1 answer
Sort by: Most helpful
-
Nivedipa-MSFT 3,646 Reputation points Microsoft External Staff Moderator
2023-05-08T08:40:20.83+00:00