How to retrieve other attributes from the Microsoft AD record, such as: Company Name, Country, City?

Hello, today we are retrieving the Microsoft UPN of users to process them in a report. We would now like to know if it is possible to retrieve other attributes from the Microsoft AD record, such as: Company Name, Country, City? Thank you in advance for your feedback.

Hi @FrancoisT
I think you have to track them at the same time as user ID thanks to visit custom dimensions: