We are currently getting a CSV file which lists all the users of the organization along with their Office 365 Licenses. It is in below format:
johncena@contaso.com, "Cena, John", contaso:STANDARDPACKdavidbrownie@contaso.com, "Brownie, David", contaso:ENTERPRISEPACK
The process that is generating this file is getting deprecated. We have been asked to use Microsoft Graph API.
Which Microsoft Graph API REST endpoint will give me the above information?