Berto2002 Posted February 22, 2024 Posted February 22, 2024 Trying to use this: Calendar / Create Calendar Event (hornbill.com) "When adding an event to a Users calendar, the userId parameter should be provided, and optionally calendarId" Am getting these outputs where the "Status: ok" but no event ID or error and would expect one or the other. Anyone using this? Something is broken on iBridge or config wrong here?
Steve Giller Posted February 22, 2024 Posted February 22, 2024 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.
Berto2002 Posted February 23, 2024 Author Posted February 23, 2024 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?
Steve Giller Posted February 23, 2024 Posted February 23, 2024 If it's from a wizard it's probably correct, but I'll check internally in case Microsoft have changed anything. 1
Berto2002 Posted February 28, 2024 Author Posted February 28, 2024 Hi @Steve Giller did you get any feedback from dev on this yet?
Steve Giller Posted February 28, 2024 Posted February 28, 2024 No, but I've moved it to the Integrations forum where the correct people might see it. 1
Berto2002 Posted February 29, 2024 Author Posted February 29, 2024 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.
Steve G Posted February 29, 2024 Posted February 29, 2024 @Berto2002 This was a defect in the operation, it's now been fixed and should be available on your instance in the next 5 minutes. Cheers, Steve
Berto2002 Posted February 29, 2024 Author Posted February 29, 2024 It works using these parms in case anyone else needs to know and after giving the servicedesk userID mailbox permissions:
Steve G Posted February 29, 2024 Posted February 29, 2024 @Berto2002 It also works with group calendars, as so:
Berto2002 Posted April 11, 2024 Author Posted April 11, 2024 @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: 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"]]
Berto2002 Posted April 15, 2024 Author Posted April 15, 2024 Bump and hoping the guys have been away and now returned to look at this
Joshua Howitt Posted April 16, 2024 Posted April 16, 2024 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?
Berto2002 Posted April 17, 2024 Author Posted April 17, 2024 @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.
Berto2002 Posted April 17, 2024 Author Posted April 17, 2024 I tried another test with the authentication user and it still gave the same error:
Joshua Howitt Posted April 18, 2024 Posted April 18, 2024 Hi @Berto2002, I have looked at this issue further and can find no issues within IBridge that could be causing you to receive the error you're current getting. I will forward this to support to investigate further.
Ben Maddams Posted April 29, 2024 Posted April 29, 2024 Hi @Joshua Howitt Has there been any movement on this one? We're experiencing the same issue. Many thanks, Ben
Berto2002 Posted April 29, 2024 Author Posted April 29, 2024 It's working for us now... Fixed in a recent drop: What's your error, the same?
Ben Maddams Posted April 29, 2024 Posted April 29, 2024 Same issue - But looking at permissions for the test calendar now, so might be a mistake we've made our side. -B
Ben Maddams Posted April 30, 2024 Posted April 30, 2024 @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.
Berto2002 Posted May 1, 2024 Author Posted May 1, 2024 @Ben Maddams I have only tried this on individuals' mailboxes and they need to make this permissions update: 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now