@Subramanyam k , From the app manifest I see that your appRoles collection is empty. It means that that application doesn't have any app roles available for assignment to either users or applications. Now the in the screenshot that I sent in my response above, I have also created an application manually in the Azure AD portal and then edited the app-manifest of that application and populated the appRoles collection with my desired set of AppRoles for users and applications.
You can refer to the following docs to get help on that:
https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-add-app-roles-in-azure-ad-apps
https://learn.microsoft.com/bs-cyrl-ba/azure/////active-directory/develop/howto-add-app-roles-in-azure-ad-apps
Once the appRoles are added to the app-manifest's appRoles collection, then you can use the following graph api call to get the AppRolesID https://graph.microsoft.com/v1.0/applications?$select=displayName, appId, appRoles&$filter=startswith(displayName, 'App-Name')
or use the copy the appRoleID from the app-manifest directly and use it in GraphAPI call.
Note: When you create the AppRoles in the appManifest, you would have to populate the id property value with a unique guid. I would suggest using an online guid generator to create a guid for that property.
Hope this helps.
Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.