Authenticating a non-admin account for Microsoft Teams

  • Goal: I would like to authenticate a non-admin account to be able to post notifications in MS Teams. I would like to share credentials across all users, but basically just don't want to authenticate with my personal account (which is a global admin) and have notifications being posted on behalf of myself.

  • Steps: I've tried to authenticate using another account and keep running into this error. Here's what I've done:

  • In the MS Entra > Enterprise Applications > Permissions section, I've granted permission to all requested scope on behalf of an administrator. Even still, I run into errors with authenticating.

  • I've granted this specific account I'm trying to authenticate with admin roles as a Cloud Application Administrator > Service Principal for Retool Official, hoping that there's sufficient scope to allow it to authenticate. Still doesn't work.
    CleanShot 2024-10-07 at 14.01.23

When I authenticate with my personal account as an admin, everything works great and I'm able to post messages into Teams. Only issue is that it posts on behalf of myself. However, I'm unable to authenticate with other accounts.

Hi @tiffany :wave:

Could you please send screenshot of your permissions and of how your resource is configured?

Hi Abbey! I ended up having to grant a non-user account limited admin permissions scope to bypass the issue (Cloud Application Admin for Retool Official). Then, I had to set it to share credentials across the whole resource so other users wouldn't need to authenticate (sort of like a bot). This is how I configured my resource if it helps.

1 Like

Glad you were able to find a resolution. Thanks for sharing your approach @tiffany