Hi,
First, set Public network access to Disable (don't make any other changes), click Save.
Second, navigate to the same screen again, and this time select Allow trusted Microsoft services to access this resource and click Save.
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP