'Cannot get signed in users of Azure AD tenant using Microsoft Graph

I'm trying to get the list of user sign-ins into my Azure AD tenant using Microsoft Graph.

I'm using the below query to get them.

https://graph.microsoft.com/v1.0/auditLogs/signIns

But I'm getting the error like this: Error

I understood that I'm missing a few permissions but I'm the global administrator of my tenant. I hope it is enough and no other permissions are needed. Still if needed, where to assign them?

Can anyone help me out with proper steps? Any help is appreciated. Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source