Skip to main content
Nintex Community Menu Bar
Solved

Nintex K2 Five 5.9 Error Message: Code: ErrorAccessDenied

  • Nov 3, 2026 6:30 AM UTC
  • 3 replies
  • 45 views
  • Translate All

mlangeveld15
Forum|alt.badge.img+4

Good morning,

Has anyone received an error like below and were you able to fix it?

Service: Exchange Online

Severity: Error

Error Message: Code: ErrorAccessDenied

Message: Access is denied. Check credentials and try again.

Inner error:

      Message: Access is denied. Check credentials and try again.

AdditionalData:

      type: Microsoft.Exchange.Services.OData.ODataAuthorizationException

      internalexception: {

  "message": "Delegate access to this API requires the following permissions: 'Calendars.ReadWrite.All,Calendars.ReadWrite.Shared,Calendars.Write.All,Calendars.Write.Shared'. However, the application only has the following permissions granted: 'Calendars.Read.Shared,Calendars.ReadWrite,Mail.ReadWrite,Mail.Send,MailboxSettings.ReadWrite,Place.Read.All,Tasks.ReadWrite,User.Read,Privilege.SkipClientAccessRules'.",

  "type": "Microsoft.Exchange.OAuth.Core.InvalidOAuthTokenException"

}

So, basically, the issue is that after we had to do the migration from Exchange Online to MS Graph, we are unable to create Appointments. We checked the permissions on App Registration on Entra, but the same issue remains.

We applied the permissions, recreated the token, but the issue just does not want to go away.

Best answer by mlangeveld15

Hi ​@mlangeveld15 have you resolved this issue? 

Hi ​@MillaZ 

Yes, we ended up resolving it.
However, it was not a permission fix on Entra. This is likely a Nintex Automation defect, and it has been brought up to the Developers to investigate.

We basically had to set up a separate Resource individually that connects to MS Graph and link the Service Type to the affected Service Instance. This is not the official K2 fix, but it is a workaround to get the result we want to get the ‘On Behalf of’ to work.
 

 


 

View original

3 replies

Arvindsct
Nintex Partner
Forum|alt.badge.img+4
  • Nintex Partner
  • Nov 9, 2026 6:18 PM UTC

I would recommend checking the following:

  1. Verify the Microsoft Graph API permissions configured in the Entra App Registration. Pay particular attention to Calendars.ReadWrite.Shared if the appointment is being created in another user's or a shared mailbox calendar.

  2. Ensure admin consent has been granted for the required permissions.

  3. Generate a fresh access token after updating the permissions and decode it to verify that the expected permissions are actually present in the scp or roles claim.

  4. Check the K2 Exchange Online feature activation settings, particularly the configured mailbox and the OnBehalfOf property.

  5. Verify that the account used for creating the appointment has the appropriate delegate permissions on the target mailbox.

Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • Nov 16, 2026 10:59 AM UTC

Hi ​@mlangeveld15 have you resolved this issue? 

Translate

mlangeveld15
Forum|alt.badge.img+4
  • Author
  • Rookie
  • Answer
  • Nov 17, 2026 12:23 PM UTC

Hi ​@mlangeveld15 have you resolved this issue? 

Hi ​@MillaZ 

Yes, we ended up resolving it.
However, it was not a permission fix on Entra. This is likely a Nintex Automation defect, and it has been brought up to the Developers to investigate.

We basically had to set up a separate Resource individually that connects to MS Graph and link the Service Type to the affected Service Instance. This is not the official K2 fix, but it is a workaround to get the result we want to get the ‘On Behalf of’ to work.
 

 


 

Translate