Office 365: How to setup pickup directory - exchange-server

I need to setup a pickup directory in my Office 365 account. I am sending emails to client and getting this error:
Service not available, closing transmission channel
The server response was:
4.4.2 Message submission rate for this client has exceeded the configured limit**".
After search found Pickup directory solution from here.
Anyone knows how to setup pickup directory in office 365?

If you were using Exchange Server, you would use the following PowerShell cmdlet:
Set-TransportService <ServerIdentity> `
-PickupDirectoryPath <LocalFilePath> `
-PickupDirectoryMaxHeaderSize <Size> `
-PickupDirectoryMaxRecipientsPerMessage <Integer> `
-PickupDirectoryMaxMessagesPerMinute <Integer>
However, since you mention Office 365, I assume you're using Exchange Online as your SMTP server. If this is the case, then you can't use the Pickup Directory solution, as this is not currently available in Exchange Online. (And even if the cmdlet were available, you wouldn't have access to a folder on the Exchange server itself.)
What you need to do is to throttle your application so that it doesn't attempt to send that many emails in a given amount of time. The current limit for Office 365 is 30 messages per minute (one every two seconds).
More information:
Configure the Pickup Directory and the Replay Directory
Exchange Online Limits / Recipient and Sender Limits

Related

code : 5001 message : "An internal error has occurred." name : "Internal Error" when calling getAccessTokenAsync

code:5001
message:"An internal error has occurred."
name:"Internal Error"
I get this error when I call getAccessTokenAsync in my outlook addin. In desktop version I get a another error with code:13003. With the AttachemntDemo sample I get the same errors.
You are most likely using an on-premises Exchange Server with a local Domain Account.
From the documentation:
13003
User Type not supported. The user isn't signed into Office with a valid Microsoft Account or Work or School account. This may happen if Office runs with an on-premises domain account, for example. Your code should ask the user to sign in to Office.
Also confirm that your server meets these requirements:
If the user is connected to Office 365 or Outlook.com, mail server requirements are all taken care of already. However, for users connected to on-premises installations of Exchange Server, the following requirements apply.+
The server must be Exchange 2013 or later.
Exchange Web Services (EWS) must be enabled and must be exposed to the internet. Many add-ins require EWS to function properly.
The server must have a valid authentication certificate in order for the server to issue valid identity tokens. New installations of Exchange server include a default authentication certificate. For more information, see Digital certificates and encryption in Exchange 2016 and Set-AuthConfig.
In order to access add-ins from the Office Store, the client access servers must be able to communicate with https://store.office.com.
:
Try to inspect the network traffic and see the actual request - there is more information about the error as this function is just a wrapper around the network request and does not give enough information.
I was receiving the same error and when checked the network request - discovered that I have to add one more application as a Pre-authorized application.

Dynamics CRM 2016 not tracking email replies

When a case is created, and emails are sent to the client, the mail syncs correctly between exchange/outlook, and CRM. However when a reply comes back from the client to the service representative, the mails are not automatically tracked as part of the original case that was set even though CRM reference details are present in the email subject line. The track number is correctly injected into the subject of the email and is still present when the client responds.
Our setup is as follow:
CRM : CRM 2016 on dedicated server (all roles)
Exchange : Exchange 2016 on dedicated server (all roles)
SQL : SQL Server 2014 ENT. With DB failover on dedicated server (all roles)
Exchange is configured as Internal Relay, and has outlook anywhere and active sync configured and externally facing. (no other protocols)
CRM mail is configured with Email Profile Authentication using an impersonation account to access and communicate with exchange.
Email accounts are processed using server side synchronisation. And users are using CRM for outlook.
Emails automatically appear in CRM, and can be tracked and set regarding. Appointments and tasks also sync as expected.
The following screen grabs summaries the settings
There are a couple of things that needs to be done here:
Under your Settings > Email, please make sure you add a bit more of digits to the incremental message counter, perhaps to 7.
Tick the box that says "Track emails sent between Dynamics 365 users"
NOTE
For the Emails to create activities in CRM there are a couple of things you need to make sure happens:
- The Customer should reply to a CRM Active Queue
AND
- The tracking subject "CRM:000001" needs to match

Configuring CRM with an Exchange Server outside O365 using SSS

I have a requirement where I need to configure my CRM Online with an Exchange Server which is hosted out of my organization's Office 365 to sync Emails for Incoming and Outgoing profiles.
Of the steps, I understand that I need to setup and Email Server Profile of type Exchange that has Server Location pointing to the Exchange Server which I have been using currently. However, I get an error saying that the configuration is invalid and I don't get to save the Incoming and Outgoing server locations. Also, do I need authentication for the same? If yes, of whom should it be? The current Incoming and Outgoing is set to the URL. (Without '/EWS/Exchange.asmx' which is used by default for hosting it on O365.
Any help / links to blogs that effectively explain this would really help.
Thanks !
Supported email service configurations for server-side synchronization
CRM Online only supports Server Side Synchronization with:
Exchange Online in the same tenant in Office365 (mail, tasks, etc.)
Gmail or Yahoo! Mail via POP3/SMTP (mail only)
Anything else is not (yet1) supported.
1 Online to On-Premise SSS is supposed to become supported at some point in the future
There are three ways of handling email processing in CRM:
Server-side synchronization
CRM for Outlook
Email Router
Server-side synchronization does not support hybrid deployments (e.g. CRM Online with Exchange On-premise), as Alex mentions.
I suggest looking into the Email Router. You install it on a machine which is then responsible for synchronizing email messages between CRM and Exchange. For an in-depth explanaion, see Email Router Demystified.
If you also need to synchronize Outlook contacts, tasks and appointments have a look at CRM for Outlook.

Outlook hangs when I try to load a profile for exchange account

Something corrupted my user profile.
I was running a profile where I connected to a gmail via pop3 and our local exchange server. One day I killed a process via the debugger during the startup process for Outlook (I am developing an Outlook addin). Ever since that point, I cannot load Outlook with the exchange server.
I have deleted the original profile and created 2 new profiles where I separated the accounts. The pop3 one will load every time the pop3 profile is selected. The exchange one will hang on loading profile, every time the exchange profile is selected. I get the following message.
Cannot open your default e-mail folders. You must connect to Microsoft Exchange with the current profile before you can synchronize your folders with your Outlook data file (.ost).
I've tried running outlook in safe mode, addins disabled, /resetnavpane, outlook reinstalled. The exchange server is up and running just fine (I can successfully perform the Test Email Autoconfiguration).
Any ideas on what else to try?
In the end, I followed the steps from http://blog.mpecsinc.ca/2011/06/outlook-error-cannot-open-your-default.html with the addition of a exchange server reboot.
Did you just copy your OST file to a new profile? You cannot do that: OST files are bound to a particular profile.
I had the same problem and I tried:
outlook.exe /resetnavpane
... but it did not help.
I was about to delete the profiles but just then realized that one of the PST file was too big - almost 2 GB. Renaming them fixed the startup problem.

How do I connect to multiple Exchange servers?

I'm working at a client site, and connect to their Exchange 2000 server via web mail. I have Outlook 2007 running as well connected to my companies Exchange 2007 over HTTP.
Is there any way to connect to the client's Exchange 2000 server using anything other than web mail? Ideally, Outlook 2007 would be able to do it, but I don't think that is possible. POP isn't an option, because I need calendaring.
Thanks,
Zach
Unfortunately, Outlook 2007 can only connect to one Exchange server per profile. To get this capability, you can upgrade to Outlook 2010. Outlook 2010 will connect to multiple Exchange servers in a single profile with no problem.
As a consultant, I have the need to connect to multiple email accounts all the time--my current profile is configured to connect to my corporate Exchange server, a client's Exchange server, two different Office 365 (Exchange Online) accounts, two different Google Apps accounts, and a Hotmail account. I love being able to easily navigate among all the different email accounts I regularly use via the native Outlook 2010 UI; I could never go back to multiple browser windows and Outlook profiles!
[I realize this is a 'stale' question, but I noticed it popped up in a search on the topic so I'm posting this answer as this information isn't reflected in any of the earlier answers.]
You can always use more than one Outlook profile.
http://office.microsoft.com/en-us/outlook/HA011471581033.aspx
There is a way of opening 2 Outlook instances running 2 different profiles.
Please see this link -> http://www.pcauthority.com.au/Feature/136036,server-101-access-multiple-exchange-servers-with-outlook.aspx
I dont think outlook will allow more than 1 exchange server connection. One option would be using another email clients like thunderbird to connect to the other exchange server [I haven't tried it though]. In case you need to know how to configure thnderbird to connect to exchange server, here is a link.
You can create multiple profiles in Outlook. You won't be able to open them all at the same time, but you can set outlook to ask you whihc profile to open when you start it.
this is an old link, but the process is essentially the same if dealing with 2003 or 2007.
http://www.cod.edu/it/howdoi/profiles/
hth...
andres
With Exchange 2000, external access is only possible using Outlook Web Access or POP/IMAP. With Exchange 2003 and 2007 you can connect using the outlook client using RPC, but not in 2000.
On a side, you can only have 1 Exchange connection in outlook, so you would have to use multiple profiles.
Apple's Mail Client will connect to any number of Exchange servers at a time. I believe that the Open Source Evolution mail client will similarly do so.

Resources