Add subscription renewal handling
Description
As documented in MS documentation microsoft Graph API subscriptions need to be periodically renewed when the subscriber receives subscription renewal notifications.
This task is to update the entra event handler function to handle these renewal notifications. The event handler will need to make a call back to the Graph API to perform a "renew" action, setting the new expiry for the event subscription to 24 in the future.
Further details
Task list
- Update the event handler to self-renew Graph subscriptions.
 - Deploy and monitor to ensure that the GCP logs show that the event is being renewed successfully.
 
Acceptance criteria
- 
Entra event handler can self-renew the Graph subscription.  
Links/references
Edited  by Mike Knee