Deep dive: How to configure Exchange on-premise Server hybrid integration with Office 365, test REST API calls?

This is one of the regular discussion that comes across at my desk, how we can configure Hybrid Exchange on-premise server integration with Office 365/Exchange Online, so that users can make use of REST API. So I thought let me stitch all of them together which can be handy for both the Exchange administrators and…

7

Office Debug: Office add-ins are not displayed correctly in Outlook

Recently one of the ISV app developer reported that after they update Microsoft Outlook to version 1809 (build 10827.20181) or later versions, data from some Office add-ins may not be displayed correctly or may be missing from the user interface of the add-in within Outlook. Specifically in their case, they used IE Control hosted in…

0

Debug: Graph API throws HTTP 403 with $filter for some users

In recent times, i worked with one of the ISV developer who reported that for some users when they use $filter with Graph API calls throws HTTP 403 – Forbidden. The same call works fine with $filter for most of the users. We chased and found it happens for some users (and not for all…

0

Microsoft Graph API developer – Using GetSchedule API to get free/busy availability information

Now you can use the GetSchedule API (when I publish this article, its available in /beta endpoint) to get the free/busy availability information for a collection of users, distributions lists, or resources, for a specified time period. You can use it simply by calling, POST /me/calendar/getSchedule POST /users/{id|userPrincipalName}/calendar/getSchedule Let me play with this API call…

4

Scripting: Send email using Powershell and System.Net.Mail API

You can send email using System.Net.Mail API & PowerShell scripting. It’s easy, faster!! Lets try… Why Powershell? PowerShell is the automation platform and scripting language for Windows and Windows Server that allows you to simplify the management of your systems. Unlike other text-based shells, PowerShell harnesses the power of the .NET Framework, providing rich objects…

4

Fixed: In Exchange Hybrid scenario Microsoft Graph REST API query fails due to $select $top $skips commands ignored

Recently i was working with an app developer who’s using Microsoft Graph REST API in their application. They try to query contacts for Exchange 2016 CU5 on premises in a hybrid + Office 365 environment (they had one single mailbox setup in Office 365). When they tested the Graph API query with $select, $top, $skips…

6

Office 365 Developer: Using People API with Microsoft Graph v1.0

Microsoft Graph provides access to useful people data. You can use the person resource and the People API to aggregate information about a person from across mail, contacts, and social networks. The results are ordered by their relevance based on multiple communication and collaboration patterns and business relationships. The API lets you browse, sort, select,…

2

Office 365 Graph Developer : Lets use Microsoft Graph Delta Query…

As you aware that Microsoft Graph provides a single API endpoint that gives you access to rich people-centric data and insights, via a number of resources like users and messages. Many applications need to keep track of what’s changing in these data sets, and we recently added support for delta query across a variety of…


Debug: Collecting HTTP/HTTPS traffic using Fiddler Web Debugger tool

As you aware that the Fiddler tool helps you debug web applications by capturing network traffic between the Internet and test computers. The tool enables you to inspect incoming and outgoing data to monitor and modify requests and responses before the browser receives them. So this post provides the steps for capturing HTTP/HTTPS traffic with…


Outlook 2016 – When you try to create a macro in Outlook receive error messages "Unexpected error, quitting" and "Out of memory"

One of my customer reported that he installed Office 2016 on a PC and tried creating a macro in Outlook then he received error messages "Unexpected error, quitting", followed by "Out of memory". We tried opening the Outlook VBA Editor, unfortunately it doesn’t open either. Alternately we checked and made sure that they don’t see…


MAPI developers: MAPI/CDO library discontinued from Exchange 2016…

If you’re an Exchange MAPI developer/ISV/Vendor who relies on Exchange MAPI/CDO then this blog post is for you. Do you know Exchange MAPI/CDO library is discontinued from Exchange 2016? Please refer @ “What is discontinued at Exchange Server 2016” which talks about the same (refer snapshot as well) and provides recommendation moving forward as well……


Custom CDO app throws error CDO_E_FAILED_TO_CONNECT

Recently I was working with a customer (at his Windows XP) where his CDO app (CDOSEND.vbs – given below) is failing to send email and throws the error “CDO_E_FAILED_TO_CONNECT” (you can refer the below given Output also). We tried setting CONFIG parameters like user name, SLL, password – but it doesn’t help. Code Snippet: Option…


Migrated custom C++/CDOSYS app throws compiler errors

Recently I was working with one of the developer who earlier designed an CDOSYS based mail component in his C++ application built using earlier Visual Studio (2005) version . After migration to VS 2008 environment, they noticed compile errors with the same code/no changes made. When I debugged further and noticed that the msado15.tlh and…

2

Office Developer: How to programmatically restrict or filter “To” property using Outlook Object Model?

In this post, we will see how to programmatically filter/restrict items “To” property. Let we take this scenario. In Outlook, we notice it contains 6 items “To” property containing “Deva G”:   Note:In specifying a filter in a Jet or DASL query, if you use a pair of single quotes to delimit a string that is…

1