Jump to content

Recommended Posts

Posted

Not something I'm familiar with, but is your Attendees parameter correct?

On the Microsoft documentation it looks like it's in this format:

[{emailAddress: {address: 'adelev@contoso.com',name: 'Adele Vance'},type: 'required'}]

which looks different to your node.

Posted

Hi @Steve Giller, I can see how an incorrect format there would caus an issue.

But the only way that field can be entered is using the 'UI wizard' by clicking the edit icon and it comes-up with this:

[{"displayName":"Name Name","email":"NameName@domain.gov.uk","optional":"Required"}]

If the format is incorrect it would suggest it's something Hornbill need to fix so the wizard outputs the correct format?

image.png.2c0fbbe118099cfd6d36bfa93b724116.png

image.thumb.png.7c2066a60e000fd222badf6cb4dcc446.png

Posted

If a member of the integrations team could please review and confirm if the output of the wizard is correct/incorrect or otherwise assist with why we are getting status "ok" but no calendar entry created or error message. Thanks.

  • 1 month later...
Posted

@Steve G or @Joshua Howitt just hit a new error when trying to release a previously tested function in this area; to add to outlook calendar. I have given the permissions on my calendar to the userID and I am the Owner which is the ID used to add to.

Here is the error message returned for this workflow:

iBridge Method: /Microsoft/Office 365/Calendar/Create Calendar Event.m Error: The specified credential identifier could not be found

This looks a bit like the system cannot find it's permissions to do this work?

Node config:

image.thumb.png.19fb4078df87dd830a06255dfc69704d.png

In UserID I am using

 

Owner (their calendar)
&[global["flowcoderefs"]["getReqInformationEndStage"]["ownerId"]]

In the Attendees, I am using these fields which are populated with the names and logonID (UPN) of the relevant parties.

Implementer (required)
&[global["flowcoderefs"]["getReqInformationEndStage"]["customFieldN"]]
&[global["flowcoderefs"]["getReqInformationEndStage"]["customField37"]]

Customer (optional)
&[global["flowcoderefs"]["getReqInformationEndStage"]["customer"]]
&[global["flowcoderefs"]["getReqInformationEndStage"]["customerPrimaryEmail"]]

Peer (optional)
&[global["flowcoderefs"]["getReqInformationEndStage"]["customFieldO"]]
&[global["flowcoderefs"]["getReqInformationEndStage"]["customField35"]]

Posted

Hi @Berto2002, I have just tried running the integration and have created events without issue. Can I confirm that the 'User ID' that you are using is the one used to Authenticate the connection between Hornbill and Microsoft Office?

Posted

@Joshua Howitt The 'User ID' that we use to Authenticate the connection between Hornbill and Microsoft Office is our ServiceDeskID (the admin user in Hornbill).

The UserID I used in my test (that worked on 6th March) was that of our infrastructure manager who has altered their Outlook permissions to allow the ServiceDeskID (the one we use as KeySafe/API/Admins) to Edit their calendar. I used this variable: &[global["flowcoderefs"]["getReqInformationEndStage"]["customerPrimaryEmail"]]. So the ID was neither mine (SessionID) not the ServiceDeskID.

I then altered my requirement to add the calendar entry to the calendar of the Owner of the Change Request, not the Customer so I used this variable: &[global["flowcoderefs"]["getReqInformationEndStage"]["ownerId"]]. This is where I got the error, despite the actual ID that pulls back being the same person as I used above. Again, the ID was neither mine (SessionID) not the ServiceDeskID.

Are you telling me that the UserID has to be the ServiceDeskID? But if so, that was not the case on 6th March so has this changed (there was a Service Manager release between the two tests I did)? It is also not in the guidance for that field which states "User ID that entry will be assigned to". We were able to use the UserID for my infrastructure manager on 6th March.

 

  • 2 weeks later...
Posted

@Berto2002 @Joshua Howitt

Have eliminated the error message - Have compiled a test calendar entry against my own calendar, but it always returns a fail code. I've tried using both my Calendar ID and the User ID as the target. Is there any way to get more information out on why this is failing? The OAuth account in KeySafe for this action is both a global admin, and has full permissions to the mailbox I'm trying to change.

Can you please provide the authorisation requirements for the account in KeySafe to be able to make these calendar entries, both on the tenant and to the calendars it is trying to alter?

I sent the output from the automation task to the timeline after the automation node, and just get this back.

image.png.0f3e2e5ff4ce467633a2a05f236ac10a.png

 

Posted

@Ben Maddams I have only tried this on individuals' mailboxes and they need to make this permissions update:

image.thumb.png.d4cbda90acc5bdf132ef1ce339735fb1.png

The global admins sounds enough in terms of OAuth permissions...

When you run this, do you have "continue on fail" set to "no"? This traps more issues in the log; and nothing in the log?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...