Hello everyone and welcome to my blog. In today’s blog we will discuss how to get the TenantId inside your Power App Canvas app.
Let’s get started. Quite unknown to many, every canvas app has a Host object. The Host object is right there under the App object but many a times it goes unnoticed.
The Host object is useful in scenarios where you need to get the Browser Type, OS Type, Tenant ID or the Browser version.
In this blog we will just focus on the Tenant ID. The TenantID is a Text property that you can get from the Host object.
So next time you need to get the TenantID, remember to look no further than the Host object.
I hope this helped. If you have liked the post and if this post has helped you, please subscribe to my blog.
Debajit Dutta
Discover more from Debajit's Power Apps & Dynamics 365 Blog
Subscribe to get the latest posts sent to your email.