Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Adding a User to a Teams Team in PowerApps portal

(0) ShareShare
ReportReport
Posted on by 6

I'm hoping someone can help, 

 

I'm trying to create a form that allows someone to add/remove a user from a Teams team using PowerApps portal by seeing what teams they are a member of and selecting the available company teams from a drop down.

 

I can create this fine in a Canvas app, however I can't seem to figure out how to do this in the Portal as we are aiming to make a portal for our company guest users rather than people with a license

 

Any ideas?

  • justinburch Profile Picture
    Microsoft Employee on at
    Re: Adding a User to a Teams Team in PowerApps portal

    Hi @narcishlb,

     

    Those are fair points, but I wouldn't confuse "PowerApps Portals" with PowerApps. PowerApps Portals is a bit of a misnomer - it's more likely "CDS Portal", as it's a way to (mostly) configure a quick website to work with CDS data.

    If you're not wanting to use code in the portal to solve the problem, then you will most likely need to investigate one of the other mentioned platforms, as your particular request isn't possible right now.

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: Adding a User to a Teams Team in PowerApps portal

    sorry about that, I thought you meant Teams as in CDS teams/users

     

    I guess the only option here would be through code, I can't see any other way to achieve that

  • narcishlb Profile Picture
    6 on at
    Re: Adding a User to a Teams Team in PowerApps portal

    Thank you for the reply @justinburch 

     

    Easy to do via Graph, but that requires coding and defeats the purpose of powerapps which is low (no) code. We need a way for it to work similar to canvas apps.

     

    If we're just going to code - it's actually a lot easier to setup a cron job and send via API and code that in - we can use any other platform that does not require a subscription and is easier to develop - like creating a normal site in PHP, TypeScript etc.

  • narcishlb Profile Picture
    6 on at
    Re: Adding a User to a Teams Team in PowerApps portal

    thank you for the reply @OliverRodrigues 

     

    All the users have various M365 subscriptions in their own tenant, but they are just a guest in ours. All of them are member of at least 1 team in our tenant as we provide ways for them to talk to each other.

     

    The purpose is to allow a guest to add/remove a user from a team they belong to without having to message the team owner - so allowing self management through a powerapps portal that does not require a license as we cannot provide all of them with licenses.

     

    The portal will also need to have other things like forms that push data into our CRM etc - but those we can easily achieve as the portal allows us to create a CDS form that we can flow into the CRM - the issue is when we need to integrate other things into the portal like Teams or Salesforce.

     

    The users have access to sharepoint that we made for them, teams that we made for them and we're looking at other functionality using a portal if it's possible, however I can't find any way of doing it if it's not a canvas app

  • justinburch Profile Picture
    Microsoft Employee on at
    Re: Adding a User to a Teams Team in PowerApps portal

    Hi @narcishlb,

     

    Are you referencing adding a user to a Microsoft Teams channel/team? I believe this is what you mean, as Teams has a Canvas app connector, but requires a licensed user to authenticate (which wouldn't work in the Portal for external users).

    If so, then in order to replicate this functionality in the Portal, you'll most likely need to utilize the Graph API. Are you looking to use the user's Teams associations and have them manage those channels, or with a specific org?

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: Adding a User to a Teams Team in PowerApps portal

    Hi

     

    Portal users are actually not represented in CDS as a system user, but as a contact record instead

    so even if you sign in via Azure AD for example, the Portals will create a contact record for you and contacts are not related to team

     

    for example I guess you are planning to expose your data to external users, and I assuming these users wouldn't have teams as they don't have access to CDS directly, am I correct? 

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35