Home > Canvas Apps > Power Apps | ‘Host’ object

Power Apps | ‘Host’ object

Assume that you are a Power Apps maker and you have built an app and shared it with users. A few users have reported issues, and you would like to know the following from the users to troubleshoot:

  • Browser
  • Operating System (OS)
  • Session ID
  • Tenant ID

So what’s the best way to get those details. The solutions is by using a Host object in Power Apps.

What and how to use the Host object:

  • The Host object in Power Apps provides information about the current host running the app.
  • The host object is currently only available in custom pages and canvas apps.
  • To access the Host object, expand the App object at the top of the Tree view pane and then select it.

Host object properties:

  • The text property BrowserUserAgent contains the complete user agent string that the browser uses to identify itself when running the app.
  • For example, a browser user agent string might be:
    • Mozilla/5.0 (Windows NT 10.0; Win64; x64)
    • AppleWebKit/537.36 (KHTML, like Gecko)
    • Chrome/ Safari/537.36 Edg/109.0.1518.78`

  • The OSType property provides the name of the operating system where the app is running.
  • Examples : Windows, macOS, iOS, Android, Linux

  • The SessionID property returns the GUID that identifies the current session.


  • The TenantID property provides the Globally Unique Identifier (GUID) that specifies the Azure Active Directory (AAD) tenant associated with the presently authenticated user.


  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: