By default, for any Power Apps canvas app used on Teams, either using Dataverse for teams, or a Standalone canvas app (added as Teams Tenant app or a tab) there is a list of parameters/context variables that Teams passes to the app via QueryString that can be used to detect current Teams…
Continue Reading Michel Mendes’s Article on their blog
Teams + Power Apps: Building context/theme aware apps – michelcarlo
How to get the Microsot Teams context and theme and make your Power Apps canvas app look like a native Teams app.
Blog Syndicated with Michel Mendes’s Permission