change Microsoft exchange calender from ASP.net page - asp.net

I have a meeting schedule system that schedules meeting time.
I would like to make an ASP.net /C# application that can edit the Microsoft Exchange calender of my organization from the ASP.net page. The exchange calender is present in Microsoft Outlook.
For retrieving calender information by importing the calender in .ics format. the following might be useful (Although I did not try)
http://www.codeproject.com/Articles/17980/Adding-iCalendar-Support-to-Your-Program-Part

If this is for Office 365 customers, you can use our .NET library that uses Office 365 REST APIs for calendar. If you are targeting an on-premises Exchange server, then you can use EWS Managed API and use "Exchange 2013 Create meetings programmatically" code sample from Exchange 2013 101 Code Samples. Hope this helps ...
Thanks,
Venkat

one can edit the exchange calender by sending an appointment email to the client. this seems to be the most proper way to change one Exchange calender
http://www.codeproject.com/Articles/24817/Send-appointment-through-email-in-ASP-NET?fid=1164404&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Normal&spc=Relaxed

Related

Microsoft Graph API with MSA Personal Account

I am using Microsoft Graph API to update the Outlook calendar in ASP.Net Application. I was using the Office 365 Business Account and it was working fine.
But when I use the Office 365 Personal Account ___#hotmail.com, it is showing error:
MsalClientException: ROPC does not support MSA accounts. See
https://aka.ms/msal-net-ropc for details
. The screenshot is attached.
Is there a way to use Office 365 Personal #hotmail account for this purpose? As I have subscription for my personal account.
Thanks for reaching out to us , this is expected behavior because ROPC does not support MSA personal accounts.
for more please see doc - https://learn.microsoft.com/en-us/dotnet/api/microsoft.identity.client.msalerror.ropcdoesnotsupportmsaaccounts?view=azure-dotnet
Thanks

FullCalendar support for Google and Exchange (Outlook)

I noticed that FullCalendar has support for Google but noticed a lack of mention for Exchange
Does FullCalendar support Exchange integration?
Additionally how does the data model work for FullCalendar and two-way data synchronization of the calendar events - is this beyond the scope of the component or is there a solution for this as well.
Another way to tackle this would be to synch the Exchange calendar events with Google and use the Google API for the calendar data. Is that the proposed solution in this scenario.
Unfortunately, FullCalendar doesn't have built-in Exchange calendar integration. You have to implement it by yourself using Exchange Web Services Managed API, Exchange Web Services or other integration methods described here.
Syncing Exchange events with Google calendar and displaying them later in FullCalendar using Google Calendar Plugin is an option, but please be aware that FullCalendar Google Plugin is designed for displaying public calendars only.

Any docs for OWA 2013 calendar integration

we're looking at integrating our in house (simple) CRM system with Exchange. I have worked with OWA in the past for email readers (so we can read emails in a mailbox and then process the contents if they have a set keyword and reference). I have not tried working with calendars though.
I have created .ics files and mailed them to the user for creating calendar entries before, but that is not idea. What we would like it to be able to add an entry to a users calendar. We would also like to update the OWA calendar entry if the details change in CRM. Lastly ( and I feel most unlikely) is update the CRM appointment if the OWA appointment changes. there are additional field and follow ups we have from an appointment int he CRM system so we do need a record in CRM.
is this possible?
can anyone point me at some documentation please?
i'm currently using https://exchangeserver/ews/exchange.asmx for the email reader.
we're
For Office 365, you can create/modify/delete/read calendar information that shows up in OWA, using Office 365 Calendar REST APIs. See here for getting started for .NET development.
If you need to support on-premises Exchange as well, you can use our older SOAP API - Exchange Web Services. This is what you are calling at present for your email reader. Best way to call EWS for .NET is using EWS Managed API (GitHub, Reference). You can also take a look at code samples for EWS Managed API to learn about accessing calendar.

Can .net generate smtp calendar appointments like it does messages?

I am trying to get .net to generate calendar appointments to user’s outlook such that the recipient would get a meeting request.
All the examples on the web have a standard message/ email object with an .ics attachment that contains the meeting details.
This is not good because I require the inbound outlook interaction to not be a message in the inbox , but rather an appointment in their calendar.
Secondly, these appointments can contain attachments similar to standard messages/ emails.
Is this possible with native .net? how about third party libraries?
The format for publishing calendar data is iCalendar (its like smtp for calenders and is used in most Outlook style applications.
I tested DDay.iCal library for this and it worked fine for me.
http://sourceforge.net/projects/dday-ical/
It produces a stream formatted in iCalendar format which can be saved to disk, emailed, or returned from a web site. In your case if you are SMTP then attaching an iCalendar format file as an attachment should do the trick.

Accessing Dynamics CRM 2011 Contacts URL using phone number

I am working with Dynamics CRM 2011 on premise. I wanted to find out how we can open a particular contact using a URL by using a phone number.
The URL looks like this:
server/organization/main.aspx?etc=2&id=%7b203C4B46-5822-E211-B26E-000C295CF877%7d&pagetype=entityrecord
I wanted to know how this ID is created and whether using the search field like phone number this ID can be found/called.
I found a similar question posted to the Microsoft Dynamics CRM community forum. There was a useful response from a Microsoft CRM support engineer. I'll quote it below.
https://community.dynamics.com/crm/f/117/t/87837
In order to open a specific record in CRM you must provide the unique
identifier for that record type.
So for account records it would be accountId. You would not be able to
build a URL for an account edit form that provides some other value
for some other attribute and have it open a specific record.
The Microsoft Dynamics CRM SDK provides a section specifically for how
to open records by building a URL.
http://msdn.microsoft.com/en-us/library/gg328483.aspx
How you get to a specific record in CRM depends upon in what context
you are accessing CRM data.
If you are in the web client, you could use Advanced Find to look for
Accounts and add a filter condition to search for records with a
specific telephone number.
If you need to open a CRM account directly by only knowing the
telephone number for an account, again you would need to leverage the
CRM SDK.
You could create an HTML web resource and in the query string for the
HTML web resource provide the data to identify the account (in your
case some telephone number). On the HTML page you could have some
onload javascript that calls into the OrganizationData.svc ODATA
service and query for accounts based on the criteria you have provided
on the query string, then you could build up the URL for the account
(since now you have access to the accountId) and redirect from your
HTML web resource to the URL for the account.
The ID is assigned by CRM at creation. You will need to search for the ID first using web service methods (specifically a RetrieveMultiple), then you can just build up the url.
This thread has an example of doing this in CRM 4: Retrieving a single Guid in CRM 4.0.
Then you will just need to build a version using the CRM 2011 SDK (though you could use the CRM 4 methods as they are still supported).
Resources:
Build Queries with QueryExpression

Resources