Microsoft365R icon indicating copy to clipboard operation
Microsoft365R copied to clipboard

list_chats() needs additional admin approval

Open zekePhoenix opened this issue 1 year ago • 1 comments

My IT department has already granted permission to use Microsoft365R. As far as I can tell, all the fucntions within Microsoft365R work. Example of a function that works is:

list_teams() Loading Microsoft Graph login for default tenant

And then I can work with the teams function.

Ths issue is with list_chats() When I call this function I get:

Loading Microsoft Graph login for default tenant
Using authorization_code flow
Creating Microsoft Graph login for default tenant
Using authorization_code flow
Waiting for authentication in browser...
Press Esc/Ctrl + C to abort

Then in the browser: image

Is this a bug? Or do I need IT to grant additonal permissions?

Thanks.

zekePhoenix avatar Aug 02 '22 17:08 zekePhoenix

Any update on this issue?

zekePhoenix avatar Sep 21 '22 18:09 zekePhoenix

I use cli for Microsoft 365 and have no issue with admin approval, but with R I get the same message.

jjesusfilho avatar Jan 27 '23 19:01 jjesusfilho

Sorry for the late reply: working with chats requires the Chat.ReadWrite permission, which isn't included in the default list of permissions for the Microsoft365R app ID. I believe you can get your admin to add this permission manually, but I'm not sure what the process is.

hongooi73 avatar May 22 '23 12:05 hongooi73

Thanks for looking into it. I'll check with our Global Admins and see what they say. Thanks again.

zekePhoenix avatar May 22 '23 13:05 zekePhoenix

I think the best solution is to register your own app ID with the permissions you need. Or rather, get them to register it for you, as it's unlikely you'll have the permissions to do so.

hongooi73 avatar May 23 '23 07:05 hongooi73