Skip to main content

Notifications

Power Apps Governance and Administering
Answered

Getting a list of Teams used for Access for an specific environment

Posted on by 587
Does anyone know if there is a way to get a list of teams used for Access for a specific environment (and list the members)?
 
Thank you
RD
Categories:
  • Verified answer
    MichaelFP Profile Picture
    MichaelFP 1,174 on at
    Getting a list of Teams used for Access for an specific environment
    Hi!
     
    you can get that using the following fetchxml, it will retrieve all users that is member of a team
     
    <fetch>
      <entity name="systemuser">
        <attribute name="fullname" />
        <link-entity name="teammembership" from="systemuserid" to="systemuserid" intersect="true">
          <link-entity name="team" from="teamid" to="teamid" alias="Team" intersect="true">
            <attribute name="name" />
          </link-entity>
        </link-entity>
      </entity>
    </fetch>
    If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as answer ✔️. This is help the community.
     

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

September 2024 Newsletter…

September 2024 Community Newsletter…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 141,122

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,414

Leaderboard

Featured topics