Hello Smart IT Admin (EXT)
Thanks for reaching out!
As per the official documentation, performing a search with application permission is limited to one geographic region. You need to specify a value for the region property in your search request when you use application permissions to run a search. To get the region value for a tenant, use the dataLocationCode property of the siteCollection resource. For more information and examples, see Get the region value.
You can get the geo location information for a tenant by using Microsoft Graph. Below sample code uses the dataLocationCode
attribute on the siteCollection
object.
However, by default, application permissions enable search on shared content and disable search on private content. To enable private content search, please refer Include-all-private-content
Also, refer Discover whether your tenant is Multi-Geo
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.