Searching for Users in the O365 Admin Portal via URL

0
5
Asked By CuriousCoder42 On

I'm looking for a way to search for users in the O365 admin portal directly via a URL. I know how to use the search box on the webpage to find users, but I'm hoping to find a method to create a URL that can be formed through a PowerShell script using a first and/or last name. The goal is to open a browser window that displays the search results, allowing me to easily click on the user I need. For instance, I thought of something like `Start "https://admin.microsoft.com/Adminportal/Home#/Users?Rogers"`, but I understand this format won't actually work. I have the search input element details, but I'm not very proficient with HTML and JavaScript to figure out the proper way to dissect the page's elements for this purpose.

3 Answers

Answered By PluginHunter93 On

Check out Graph Xray! It's a browser plugin that lets you see the backend Graph calls made from the web interface. It might be really useful for you to develop that search feature you're looking for.

Answered By SkepticalSergio On

If you've got a lot of users, I get why this is a hassle. But trust me, learning PowerShell would save you a ton of time. Have you thought about convincing your boss to get you access to MS Graph? It could make your life way easier.

Answered By TechSavvy89 On

Why not just use Graph API with PowerShell? It sounds like you have enough users that it might be worth learning. It can significantly streamline your workflow if you need to do this often.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.