In this post, we wanted to share a practical walk-through of discovering which Azure AD app registrations are still using Exchange Web Services (EWS), plus what the Kiosk/Frontline license changes me...
thejimmartin I'm finding that the script is not including in it's output some applications that I know are definitely using EWS (Rubrik for example). Is this error (unable to get app role assignments) stopping the script from getting a full list of all Entra service principals?
If I run the following Copilot produced script it does include those Rubrik apps but unfortunately it doesn't output lastsignin details.
The appID used by the script must be missing a permission that allows it to retrieve this information, but that permission was granted to the Graph API application. The script cannot review permissions without pulling the SPNs first.
Sorry, I'm not sure what you mean. I granted the app I registered in Entra the permissions that were specified in the "Requirements" section. The script is pulling SPN's because I do get some results back - just not a complete list by the looks of it (there's no mention of Rubrik for example which the Copilot script does list).