Hi @J Shaw,Thank you for posting your query on Microsoft Q&A. I am Saiteja from Q&A will be assisting you with your query.
Based on the description, here is my understanding: Would like to pass location as an attribute to restrict the access on the data of the application.
To add a custom attribute to the token we have this Microsoft document which helps you in adding the attribute based on your requirement. This would help you in providing the location of the user from where they are trying to access the application.
Set the user location in Azure which would help in marking the user location of usage. If you would like to enable usage location from on premises, you need to follow this document.
But if you would like to restrict the access of the data based on the location from Azure app registration, which is not a possible scenario. We do not have any feature or options to restrict the user accessing data based on the location. We only have the location-based authorization from conditional access policy but there is no option to set access for the application data from Azure.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment".