pdate appointments from google calendar to in dynamics crm are not syncing - dynamics-crm

Today, I have faced one issue from google calendar connector .
I have two connectors in ms-flow.
When event is added
When event is updated
Whenever event is added/update, it should be adding/updating in appointment entity.
Scenario 1
-Schedule test1 one appointment to gmail
Connector ->Using 'When event is added' action I am able to create test1 appointment is dynamics crm
Scenario 2
--Updated test1 appointment in outlook
I have used this action 'When event is updated' to update appointments- it is not trigger and update test1 appointment is dynamics crm. But create flow is triggering in this place.I don't know why?
Could any one assist on this issue?
Regards,
SB

Related

Outlook Calendar: Add different calendar of same mailbox to an event

While creating an event in the outlook calendar, I want to add multiple calendars of the same mailbox in the event. I am not able to find any way of doing this.
I am using MS Graph for creating events on the calendar.
Please help me with this. Thanks in advance.
You can use Create event API to create a new event in a calendar. But you need to note that the calendar can be one for a user, or the default calendar of a Microsoft 365 group; it's not for the calendar group - so you can't add multiple calendars. Here's the doc.

CRM Email attaching to wrong cases

When a case is resolved in Dynamics 365 CRM a mail is triggered notifying customer that case has been resolved. But when customer replies to that same mail that email activity gets attached to a different case which is active. Is it because of tracking number? Can someone explain how this works?

Outlook - Copy group calendar events to user outlook calendar

We have a recurring event setup in Office 365 group calendar. If a new member is added to this group, that member can see the event in "Group" calendar and in order to see this event in main calendar, user have to click on "Copy to My calendar" in group event.
Is there any way to do this via code/script? Basically achieve "Copy to My calendar" for Office 365 group calendar to User's main calendar via code.
I'm not sure when you click "Copy to my calendar" if it has some smart link or if it is just a copy at a point in time.
You could subscribe to the calendar using a webhook. That webhook would call your API hosted somewhere (an Azure Function, a web api hosted on Azure App Service). Your API would recieve the event id, it could then fetch the full details of the event and then create a new event on the users calendar.
I'm assuming that you'd want this to create it on all users calendar and also to update it if there were changes on the source event.
Its complex for sure doing it this way.
https://learn.microsoft.com/en-us/graph/webhooks
https://learn.microsoft.com/en-us/graph/api/resources/event?view=graph-rest-1.0

Created an appointment in CRM Dynamics 365 using C#, But that is Not Coming into Outlook Calendar

I am following this link Book An Appointment In CRM Dynamics Using C# and am able to create the appointment in CRM Dynamics Calendar, which in turn returns the GUID and it's visible in Dynamics Calendar too.
Also, I was able to change the Appointment status from "open" to "Scheduled" by using entity SetStateRequest as follows but still I can't get this appointment synced/visible into my Outlook Calendar.
Any suggestions would be highly appreciated. Thanks
Guid _appointmentId = organizationService.Create(appointment);
var state = new SetStateRequest
{State = new OptionSetValue(3),
Status = new OptionSetValue(5),
EntityMoniker = new EntityReference("appointment", _appointmentId)};
var stateSet = (SetStateResponse)organizationService.Execute(state);
CRM & Exchange mailbox is still not connected using Server side sync. You have to configure your CRM mailbox record to sync the Appointment, Contact & Task (can be configured only in any one of the environment)
Read more
Go to your CRM system user record & open the associated Mailbox record, verify the Mailbox is configured properly for Incoming/Outgoing/ACT, O365 global admin approval, then “Test & Enable”.
Reference

How to update other appointments in my calender through ews

I am sync my outlook calender with my application through ews and also other appointments that are not created by me.
The issue is , I am updating outlook calendar from my application. When I try to update other appointments that are not created by me are throwing error.
Is there way in ews to update those appointments? Since outlook have an option to update(save & close ) the appointments ?
Please advice on this
No as that breaks the business logic eg an attendee can't update a Meeting organised by somebody else. You need to create a Meeting update from the Organiser copy of the appointment and then accept that on the user behalf https://msdn.microsoft.com/en-us/library/office/dd633648(v=exchg.80).aspx if you want to maintain the attendees Calendars integrity.

Resources