@Marcel Fleury (Cloud Admin) Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
You need to use appserviceresources
table instead of using resources
table to pull the app service which has configure with access restrictions and its rules.
I have written a sample resource graph explorer query to pull the list of webapps in our subscriptions which has configure with access restrictions.
resources
| where ['type'] == "microsoft.web/sites" and kind in ("app","app,linux") | distinct name
| join ( appserviceresources | where isnotnull( properties.IpSecurityRestrictions) | project name,properties.IpSecurityRestrictions) on $left.name == $right.name
| project AppName=name1, RestrictionsRules=properties_IpSecurityRestrictions
Here is the sample output for your reference:
Hope this helps, Let me know if you have any further questions on this.