DeadlineScan
ErrorAccessDenied

“The requested web method is unavailable to this caller or application”

The endpoint answered, and it refused the operation for this caller. If it started recently and nothing in your code changed, the first thing to read is the tenant's EWS posture, not your code.

Read the tenant first. One command:
Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy |
  Format-List EwsEnabled, EwsAllowedAppIDs | deadlinescan tenant

Parsed locally, nothing sent anywhere. What each verdict means. Allow-listing buys time and nothing else: allow-listed applications keep working until March 31, 2027, and April 1, 2027 is the hard shutdown with no exceptions and no re-enablement.

A finding count of zero means no affected call sites were FOUND — not that you're unaffected.

Scan your code

Free, local, one command. Flags the sites with no Graph equivalent.

Get the scanner

Get the scanner: email [email protected] and you'll get the source and a Windows binary by reply — the public repository is being prepared.

Opt in + allow-list

Set-OrganizationConfig -EwsEnabled:$true
Set-OrganizationConfig -EwsAllowedAppIDs "<comma-separated Entra app client IDs>"

The allow list in detail →
Get the scanner Fix what it finds →