web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps Connectors w...
Power Apps
Answered

Powerapps Connectors with Teams (Shared Users no connection to Teams)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I set up a Powerapps where it will send a message to Teams whenever a new entry is added. The code I was using was:

 

MicrosoftTeams.PostMessageToChannel("groupid","channelid", {body:{content:"Hello World Test2",contentType:0}})

 

and it was working fine when I tested it in preview (posted a message on teams) but when I shared it to other users in my organization, it didn't work. Powerapps didn't ask for the users' permission into teams when they were using the app (only asked for onedrive permission as I put the data file on onedrive). I was wondering if that's because the Teams connector with Powerapps is still in preview stage and that's why I wasn't able to use it when I shared it to other users. If that's not the case, could you please let me know what I am doing wrong? Thanks.

Sharing Permissions.PNG
Connectors.PNG
Categories:
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Are your users in that Teams channel?

    I have made a test on my side, and don't have the issue you mentioned. When I shared the App with users, i also need to share the Teams connection. What more, when my user open the Apps i shared, the Teams connection permisson also appears.

    Annotation 2019-10-18 102747.png

    Annotation 2019-10-18 101552.png

    Can you delete the MS Teams connection and try to re-add it to check if this issue is fixed?

    Best regards,
    Sik

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard