Skip to main content
Support Documentation | Customer Care
Support Documentation

Microsoft Office 365 Deleted User Block Event Action from Appspace

Symptom

When the Microsoft Office 365 user account of the organizer of an event created within the provider has been deleted in O365, and the Book On Behalf setting is enabled in Appspace, the user will experience an error when performing any action on the provider events.

 

Error example in our logs:

{ "insertId": "m0tbb8euof5cplsl", "jsonPayload": { "transactionId": "fd745cb1-43da-426f-9c01-c437b1142943", "SourceContext": "Reservation", "ThreadId": 38, "message": "[DeleteCalendarEventAsync] Restresponse `Delete:api/v1/events/cc2a608f-742f-4834-ba9e-97dfe362bf1e` with status `Forbidden`, response `{\"code\":\"UserEventDoesNotExists\",\"message\":\"User event does not exists.\",\"statusCode\":403,\"timestamp\":\"2024-06-13T16:20:19.970Z\"}`, errorMessage ''.", "origin": "apigateway", "MachineName": "reservation-6f8cddc44d-v5pc6" }, "resource": { "type": "k8s_container", "labels": { "project_id": "appspace-cloud", "cluster_name": "gcp-prod-pv-gb1-b", "location": "europe-west2", "container_name": "reservation-container", "namespace_name": "pv-sainsburys-a", "pod_name": "reservation-6f8cddc44d-v5pc6" } }, "timestamp": "2024-06-13T16:20:20.022062400Z", "severity": "ERROR", "labels": { "compute.googleapis.com/resource_name": "gke-gcp-prod-pv-gb1-b-default-pool-1-a60a8661-cw9g", "k8s-pod/app_kubernetes_io/component": "microservice", "k8s-pod/app_kubernetes_io/part-of": "appspace", "k8s-pod/app_kubernetes_io/name": "reservation", "k8s-pod/app_kubernetes_io/managed-by": "Helm", "k8s-pod/pod-template-hash": "6f8cddc44d" }, "logName": "projects/appspace-cloud/logs/stdout", "trace": "projects/appspace-cloud/traces/dfb175b889baf0203e0b2449a0357345", "receiveTimestamp": "2024-06-13T16:20:20.123800315Z", "spanId": "040b881db4901cc6" }

 

Escalated Tickets:

  • AE-11651: User cannot delete meetings
  • AE-10526: Unable to Delete Inactive user Provider-Created Reservations

 

Solution

In this case, from the Appspace side, we have no control over the provider events when the organizer account has been deleted in O365.

The only way to resolve this issue is to have the customer's O365 administrator delete the events from the O365 side or reach out to O365 support if the company policy doesn't allow the O365 administrator to delete the events from O365.