as next link in /activities/signinEvents queries



I have an app to get sign-ins from logs /activities/signinEvents. I perform a GET query to and the next link presented in that response was
"". I cannot visit that link with my app or graph explorer. My app gets the following error: "AADSTS65001: The user or administrator has not consented to use the application", which is logical because I really do not have the access to

So, I would like to know if this next link is presented by design and it is not a bug. How do I have to handle such links then?
What kind of permissions do I have to assign to my app?

Thanks in advance!

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,774 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KAREDD-MSFT 391 Reputation points

    anonymous user Ideally, you should have consented to the permission on behalf of your app which should give you the application required consent. Can you confirm the same?

    We strongly recommend using Microsoft Graph API for accessing resources from Azure AD. Azure AD Graph calls will be deprecated in the near future.