Sometimes, we may want to get the current user’s Active Directory ID and Tenant ID. To get that we no need to write blah.. blah.. codes and scripts to get that. I’ll give you the quick tip on how quickly get that information.
How to detect the current site page is modern or not. Check out this blog post to know about that.