All Applications have not been listed in graph API

Anonymous
2023-08-02T15:03:36.27+00:00

I am trying to use Graph API to list the available applications, I am using client id to which three (Application.Read.All, Application.ReadWrite.All andApplication.ReadWrite.OwnedBy) permissions have been added, still when I try to list using https://graph.microsoft.com/v1.0/applications not all registered applications are returned, only a subset is being returned, is there an option to retrieve all applications?

Thank you

Microsoft Security Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 46,371 Reputation points
    2023-08-03T02:45:52.05+00:00

    Hi @Vijay Akula

    Yes, it paginates the result set with 100 pieces of data by default, and you can customize the pagination data by using the $top query parameter.

    Also, you can use the $count query parameter to count the returned result set.

    GET https://graph.microsoft.com/v1.0/applications?$select=id,appId,displayName,passwordCredentials&$top=999&$count=true
    
    ConsistencyLevel: eventual
    

    1

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.