Share via

{"error":{"code":"TimeZoneNotSupportedException","message":"A valid TimeZone value must be specified. The following TimeZone value is not supported: ''."}}

Jiang, Vivian (systemsGo) 0 Reputation points
2026-02-06T09:14:54.13+00:00

Hi experts,

we did the integration with Exchange and ServiceNow for create/update calendar event

but we got the following issue for specific user when create/update calendar

How can I fix this issue?

{"error":{"code":"TimeZoneNotSupportedException","message":"A valid TimeZone value must be specified. The following TimeZone value is not supported: ''."}}

Exchange | Other
Exchange | Other

A powerful email and collaboration platform developed by Microsoft, designed to support enterprise-level communication and productivity. Miscellaneous topics that do not fit into specific categories.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Hin-V 13,070 Reputation points Microsoft External Staff Moderator
    2026-02-06T10:26:32.54+00:00

    Hi @Jiang, Vivian (systemsGo)

    Thank you for posting your question in Microsoft Q&A. 

    As your description, it appears that your integration is calling the Create / Update Calendar Event API, and one specific user is encountering the following error: 

    "TimeZoneNotSupportedException  A valid TimeZone value must be specified. The following TimeZone value is not supported: ''. "

    This issue typically occurs when the start or end time of a calendar event contains a blank or unsupported timeZone field. 

    As suggested by the AI, you could try verify and correct the affected mailbox regional configuration in Exchange Online. A mismatched or unset time zone in the mailbox settings can cause this issue. 

    Use the following commands in Exchange Online PowerShell via:

    Get-MailboxRegionalConfiguration -Identity <user>  
    

    To set a valid time zone, run:

    Set-MailboxRegionalConfiguration -Identity <user> -TimeZone "<Your Time Zone>" 
    

    Reference: 

    Set-MailboxRegionalConfiguration (ExchangePowerShell) | Microsoft Learn 

    I hope this helps. 

    Please understand that our initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution. 


    Note: Please follow the steps in [our documentation] to enable e-mail notifications if you want to receive the related email notification for this thread. 

    1 person found this answer helpful.
    0 comments No comments

  2. Jiang, Vivian (systemsGo) 0 Reputation points
    2026-02-09T02:53:52.07+00:00

    Hi Expers, thank you for your reply.

    As checked with the user, his timezone already set in exchange side.User's image


  3. Q&A Assist
    2026-02-06T09:15:04.83+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message you are encountering, TimeZoneNotSupportedException, indicates that the user for whom you are trying to create or update a calendar event does not have a valid time zone set in their mailbox configuration. This can happen if the time zone information is missing or incorrectly configured.

    To resolve this issue, you should verify and set the correct time zone for the user's mailbox. You can do this by using PowerShell commands in Exchange Online. Here are the steps:

    1. Connect to Exchange Online using remote PowerShell.
    2. Run the following command to check the current time zone setting for the user:
         Get-MailboxRegionalConfiguration -Identity <user>
      
    3. If the time zone is not set or is incorrect, you can set it using the following command:
         Set-MailboxRegionalConfiguration -Identity <user> -TimeZone "<Your Time Zone>"
      
      Replace <Your Time Zone> with a valid time zone string (e.g., "Pacific Standard Time").

    Make sure to replace <user> with the actual user's identity (email or username). After updating the time zone, try creating or updating the calendar event again.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.