Office 365 unified api Object reference not set to an instance of an object
问题 I'm trying to use the new office365 unified api to query the users list and user file. I've created the application in azure management portal, and I gave the permission to the new api application (with the directory and files read) I've created both a client and a webapi application, to try. In my code, I use a x509 certificate to acquire the token, and I get it without problem. Then I call, with curl, the url "https://graph.microsoft.com/beta//users/" to get the users list, and I get a 500