Hi all!
I am trying to build a automation using Microsoft authentication it is asking client id and token id I am unable to find it , weather this kind of automation are valid to work on ?
What do you mean client id and token id? Can you show us what you’re getting for authentication? You don’t mean this window?
Hi @vhvinodsai
Yes, this kind of automation is valid and commonly used.
For Microsoft authentication, the Client ID and Tenant ID come from Azure Active Directory. You need to register your application in Azure Portal → Azure Active Directory → App registrations. Once registered, you will get the Application (Client) ID and the Directory (Tenant) ID there.
After that, configure the required API permissions and grant admin consent. Without app registration in Azure AD, you won’t be able to get these details.
As I tried working with Google authentication their I am able to get the client id and token key to automate it. In microsoft is their any possibilities to automate using UiPath ?
Or is their any activities present ?
You still aren’t telling us what exactly you’re trying to do. “In Microsoft” is vague. Microsoft what? What app? What are you trying to do? Be specific and detailed about your process.
You won’t be able to do that. Need to have the account set so it sends a code via email, then write your automation to collect the email, extract and enter the code.
Hi @postwick
Thank you for your suggestions.
Hi @vhvinodsai
Yes, this automation is valid, but it must use Azure AD / Entra ID app registration. You cannot “find” Client ID and Token randomly — you create them.
Where to get them (high level):
- Go to Azure Portal → Microsoft Entra ID (Azure AD)
- App registrations → New registration
- After registration:
- Client ID = Application (client) ID
- Tenant ID = Directory (tenant) ID
- Create a Client Secret (this is what many people call “token id”)
Regards,
Gokul
Again, what are you trying to do? It appears you’re doing UI automation, but for most things Microsoft (email, Sharepoint, Drive, etc) you can use the API and activities without UI automation.
Hi @postwick
For api i have to reach my support desk ? Or is their any platform to get this I am not aware on this could you please share more insights on this it would help !
Ideally creating an integration connection makes sense for your case which would work in backend and no MFA would be present
you need to reachout to yout support Team specifically azure team
this below doc can help with how and what needs to be created
cheers
Oh. Vip Thanks so much!
It depends on what you’re trying to do. Email? Sharepoint? Drive? Something else?
Tell us about your process!
Hi @postwick
Trying to automate web application using Microsoft authentication.
WHICH web application?
Trying to work on chrome application as per the requirement for the poc
I’m sorry, but I give up. If you can’t explain the process and give proper details, we can’t help you. “chrome application” doesn’t tell me anything.
Hi @postwick
Solution was provided by above fellow users my issue got resolved.
Thank you for your kind time and support always!

