Mailbox Cannt connect to the Server 2013
hi,
I cannt connect mailbox via outlook but owa\activesync work good.
I tried to reaper the mailbox\move to another DB and connect with 2 outlook version 2010SP2 and 2013
the problem its only with specific mailbox all other mailbox works.
the outlook get the [email protected] from the server and the mailbox details but cannt connect to download the folders\mails
If you are unable to connect Outlook for user
Try to configure the user profile in different desktop and different outlook version (May the desktop and client have hardened or blocked). It is always best to perfrom the test in some other computer since the impact is for only one user
Check out the legacyexchangedn - Using LDP.exe. Use the LDAP search "legacyexchangedn=/o=.....".
Perform the test using Test-Mapiconnectivity as follows
Test-MAPIConnectivity -Identity AD\Raji
Ref: http://technet.microsoft.com/en-us/library/bb123681%28v=exchg.150%29.aspx
Perfrom the test using Test-OutlookConnectivity using the below syntax
Test-OutlookConnectivity -ProbeIdentity "OutlookRpcCTPProbe" -MailboxID [email protected]
Ref:http://technet.microsoft.com/en-us/library/dd638082%28v=exchg.150%29.aspx
Also check if there is any duplicate address in your AD - http://support.microsoft.com/kb/318774/en-us
And also check the below settings
In Control Panel, open the Mail item.
Click Show Profiles.
Select your profile, and then click Properties.
Click E-mail Accounts.
Select the Microsoft Exchange Server account, and then click Change.
In the dialog box that contains your mailbox server and user name, click More Settings.
In the Microsoft Exchange dialog box, click the Security tab.
Click to select the Encrypt data between Microsoft Office Outlook and Microsoft Exchange check box, and then click OK (The
screen shot for this step is listed below).
Exchange Queries
Similar Messages
-
Outlook 2013 intermittent connectivity to exch server 2013
Hi
Have been having this problem on and off for a few months now. I have a director who accessed his mailbox from several outlook clients and laptops as well as from mobile accounts. It seems to be happening only from a wireless network too whether connected to
the domain locally or working from home.
Sometimes weeks go by and his mailbox is fine but then sometimes for about a week or so he just cannot connect to his mailbox. Connectivity to the server sees fine through ping and tracert is connecting through one hop. Have deleted his profile and re created
a couple of times but seems to make no difference. Also tried repair under account setting on the profiles too.
The error code in outlook is 0x8004011D. Have tried safe moed and tried windows clean boot mode but still not working
Thoughts?Hello
tip: http://support.microsoft.com/en-us/kb/289971
and enable outlook advanced log
http://support.microsoft.com/en-us/kb/2862843
sorry my english -
I am trying to connect to a Odata Data feed from Excel 2013 Power Pivot
The datasource is in sharepoint site eg: https://sitename/Shared%20Documents/datafeed.atomsvc
getting below error
Error message:
Failed to connect to the server. Reason: The payload kind 'BinaryValue' of the given data feed is not supported.
============================
Call Stack:
============================
at Microsoft.Data.DataFeedClient.DataFeedODataReader.ValidatePayloadKind(ODataPayloadKind payloadKind, ODataMessageReader odataMessageReader)
at Microsoft.Data.DataFeedClient.DataFeedODataReader.InterceptODataException(Action action)
at Microsoft.Data.DataFeedClient.DataFeedODataReader..ctor(IODataResponseMessage responseMessage, Int64 maxReceivedMessageSize)
at Microsoft.Data.DataFeedClient.DataFeedODataReader.CreateReader(IWebResponse webResponse, Int64 maxReceivedMessageSize, Boolean applySlashUpdatingBaseUriResolver)
at Microsoft.Data.DataFeedClient.ODataHelper.GetCollectionsFromServiceDocumentUrl(Uri serviceDocumentUrl, DataFeedConnection connection)
at Microsoft.Data.DataFeedClient.DataFeedConnection.Open()
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open(String& connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open()
at Microsoft.AnalysisServices.Common.DataSourceBasic.ClickTestConnection(Object progressControl)
Appreciate suggestions/answers
NOTE: The error is showing only while using Excel 2013 powerpivot
its working good with Excel 2010 powerpivotAnita,
Please look into using Power Query to use OData as a source in Power Pivot.
Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Office 2013 (C2R) Connect to the server to view them
I have an Outlook 2013 Click-to-Run installation (version 15.0.4641.1003) that will not download all emails from the server. At the bottom of folders it says, "There are more items in this folder on the server. Connect to the server to view them."
This option is grayed out, though. It is currently running in Cached mode and set to download 12 months of mail. It says Connected to Microsoft Exchange at the bottom. The connection status (taskbar --> right-click Outlook icon --> Connection Status)
shows connected. At the bottom of folders it says, "There are more items in this folder on the server. Connect to the server to view them." This option is grayed out, though. This particular account has had a new Outlook profile built twice in the
last couple of months when it would not connect to O365. This location also has a fairly slow connection. Could the slow connection be causing issues even though it says connected? Looking for any ideas.Hi,
This message generally means you do not have connectivity with your Exchange server:
http://support.microsoft.com/kb/2733062/en-us
This might has something to do with the slow connection to Exchange Online. Please first check for updates and install any required ones, then try again. It’s always a good idea to keep current with updates.
Also, do you have a proxy server configured? If your Outlook is going via a proxy server to Office 365, you might want to take a look at this article:
http://support.microsoft.com/kb/2916915/en-us
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
We are having trouble connecting to the server-sign in lync 2013
hello all,
I'm trying to sign in to my lync from my host , all my work is virtual .
under certificate trusted root i put my CA but when i try to connct i have the error: "we are having trouble connecting to the server" knowing that
under \etc , i inser @IP_lyncmachine name_lync_machine and in the option of lync i choose manually
any advice?You can run the command netstat –ano with command prompt to check whether port 5061 is listening. You also need to create a firewall policy to allow the traffice through 5061 from the subnet the phisical computer locates to Lync Front End Server
Lisa Zheng
TechNet Community Support -
Hello,
We have 2 Exchange 2013 (build 712) servers in a DAG with distinct subnets. Cisco ASA in between was set to have no filtering between servers in subnet.
We cannot add database copies nor move mailboxes.
Tes-Mapiconnectivty fails with
unspaceId : e8a087f1-6197-48df-b094-d5c93a7b6070
Server : CLI-SRV01
Database : CLI-MDB01
Mailbox : SystemMailbox{376e8d54-7154-484a-a0a3-58f22d73236f}
MailboxGuid :
IsArchive :
Result : *FAILURE*
Latency : 00:00:00
Error : [Microsoft.Exchange.Data.Storage.MailboxOfflineException]: Cannot open mailbox /o=First
Organization/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=CLI-SRV01/cn=Microsoft System Attendant. Inner error
[Microsoft.Mapi.MapiExceptionMdbOffline]: MapiExceptionMdbOffline: Unable to make connection to the
server. (hr=0x80004005, ec=1142)
In event log:
The Microsoft Exchange Mailbox Replication service was unable to process jobs in a mailbox database.
Database: RDB
Error: MapiExceptionRecoveryMDBMismatch: Unable to open message store. (hr=0x80004005, ec=1165)
Diagnostic context:
Lid: 55847 EMSMDBPOOL.EcPoolSessionDoRpc called [length=132]
Lid: 43559 EMSMDBPOOL.EcPoolSessionDoRpc returned [ec=0x0][length=248][latency=0]
Adding database copy fails with
The seeding operation failed. Error: An error occurred while performing the seed operation. Error: Failed to open a log truncation context to source server 'CLI-SRV02.CLI.ch'. Hresult: 0xc7ff07d7. Error: Failed to open a log truncation context because the
Microsoft Exchange Information Store service is not running. [Database: CLI-PFDB02, Server: CLI-SRV01.CLI.ch]
How can I further verify communication from CLI-SRV02 to CLI-SRV01 ?
Any help welcome
/PatriceHi,
Let's begin with the following similar thread:
http://social.technet.microsoft.com/Forums/en-US/b651d65c-92f3-460c-b555-247acb8e6fd7/recovered-exchange-2013-arbitration-system-mailboxes?forum=exchangesvravailabilityandisasterrecovery
It is the same error in the event log with you when moving mailboxes. And it can be resolved by recreating the mailboxes.
Additionally, to check the network connection between two servers, I recommend you use the network monitor to catch the package.
Thanks,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Angela Shi
TechNet Community Support -
the note says the connection to the server failed. i can get everything else off the internet but not my mail. i think i was checking out the icloud and might have accidently done something with my email to make it stop being available to me. how can i check out the icloud issue? I have never used icloud before.
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
Cannot get mail the connection to the server failed. How do I resolve this
CAn anyone help?., please! I am getting error message Cannot get mail The connection to the server failed. I have switched on and off and can log into safari and send emails. This is my first blip with my ipadwhich has been amazing. Help, please. Thank you
siOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
The iPad's Mail app has no provisions for creating groups. However, you canuse a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
WHen going to mail on my iPad 4 iOS 107 7.0.3 I keep gettin the diagnostic "cannot get mail the connection to the server failed " however I seem to get new mail that matches the mail I get on my iMac ?
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
On the mail app. It keeps coming up cannot get mail connection to the server failed. I've done everything I know to do.
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say "Cannot Connect to Server"?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
Hi,
Me and a collegue is administrering our new enterprise BI portal in SharePoint 2013 (On Premise) and have a problem with using a specific Excel file including general ledger data as data source through a BISM file.
This particular BISM file can't be saved without getting the error message "There were errors found while validating the page: Cannot connect to the server or database."
BISM files against other Excel sheets and sources (for example SSAS tabular databases) works well.
Can anyone help us pinpointing whats wrong here, this is a really important stakeholder in our organization requesting this reporting?
Cheers!Hi E.SWARD ,
My self created a Power pivot excel then i want to use this excel to create BI file . Still i am getting the same error . Pls help me to resolve this issue
Cannot connect to the server or database.
I am getting the similar error , if i use Tabular analysis server instance .
Subhash -
The attempt to connect to the server (IP address) on port 443 failed - OLT
Hi all
I am facing one problem, if i run load to any application for 100 users for 1 iteration then it is not showing any error. Lets say i ran the load of 100 users for one hour then for some users there are errors like
Line: (script.java:84)][ScriptException]: The attempt to connect to the server (IP address) on port 443 failed.
And my understanding is the user's which are facing failures is not able to get response or page loaded at their end. As failures are occuring for some particular steps not the entire scenario. Pls confirm.
ThanksI believe that's an indication that there is an error receiving mail, but if you have any drafts or email in your outgoing mailbox, try deleting them. Apple's troubleshooting steps for this are (from http://support.apple.com/kb/TS4002):
Cannot receive mail in OS X Mail
If you use OS X Mail, look at the name of your iCloud account on the left side of the main Mail window. If your iCloud account name is dim and has a lightning bolt next to it, your account is offline. To resolve this, make sure your computer is connected to the Internet. Then choose Go Online from the Mailbox menu.
If taking your iCloud account online doesn't resolve the issue, follow these steps:
From the Mail menu, choose Preferences.
In the Preferences window, click the Accounts tab if it is not already selected.
In the Accounts list, select your iCloud email address.
Click the Account Information tab.
Verify your SMTP server settings with the following information:
Incoming Mail Server: imap.mail.me.com
User Name: Your iCloud email address
Password: Your iCloud password
Click the Advanced tab and verify the following additional settings:
Port: 993
Use Secure Sockets Layer (SSL): Should be enabled
Authentication: Password -
I am in the process of doing a migration from SBS 2003 std. edition to SBS 2011 std. I am at the point the migrating mailboxes from the Exch 03 server to the Exch 2010 server. I initially received an error when selecting mailboxes that the mailbox
db on the Exch03 server did not exist. I followed the resolution steps from another forum post to add the Exch 2010 server to the "first administrative group" via the security tab and give full permissions. This solved that issue and
I was able to proceed through the wizard to actually create the local move request. However, after processing the request, I get the following error...
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:03
<username>
Failed
Error:
Mailbox database '0180b88c-0cb2-4b2f-981a-6bdaecc10fcb' is offline.
MapiExceptionLogonFailed: Unable to make connection to the server. (hr=0x80040111, ec=1010)
Diagnostic context:
Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: <Exch03server>.<domainname>.local
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -545057711
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Long val: 382312662
Lid: 45169 StoreEc: 0x824
Lid: 44273
Lid: 59431 EMSMDB.EcDoConnectEx called [length=114]
Lid: 34855 EMSMDB.EcDoConnectEx returned [ec=0x3F2][length=56][latency=4]
Lid: 56945
Lid: 59431 EMSMDB.EcDoConnectEx called [length=114]
Lid: 34855 EMSMDB.EcDoConnectEx returned [ec=0x3F2][length=56][latency=4]
Lid: 59505 StoreEc: 0x3F2
Lid: 52465 StoreEc: 0x3F2
Lid: 60065
Lid: 33777 StoreEc: 0x3F2
Lid: 59805
Lid: 52209 StoreEc: 0x3F2
Lid: 19778
Lid: 27970 StoreEc: 0x3F2
Lid: 17730
Lid: 25922 StoreEc: 0x3F2
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.1.218.11&t=exchgf1&e=ms.exch.err.ExC2B9A8
Exchange Management Shell command attempted:
'<domainname>.local/MyBusiness/Users/SBSUsers/<username>' | New-MoveRequest -TargetDatabase 'Mailbox Database 2011012823'
Elapsed Time: 00:00:03
I have tested running the command from the EMS and get the following...
Mailbox database '0180b88c-0cb2-4b2f-981a-6bdaecc10fcb' is offline.
+ CategoryInfo : NotSpecified: (0:Int32) [New-MoveRequest], RemoteTransientException
+ FullyQualifiedErrorId : AC277C79,Microsoft.Exchange.Management.RecipientTasks.NewMoveRequest
On the Exch03 Server I have verified/tested/done the following:
--Verified the Information Store Service is running
--Tested restarting the service
--Verified the Mailbox store is mounted
--Tested Dismounting and mounting
--Tested the Exch2010 mailbox db store is functioning properly by creating a test account and verifying w/ OWA.
--Verified routing group b/w servers
--verified network connectivity b/w servers
--Verified DNS is functioning properly on both servers
--Installed Exchange Server MAPI Client and CDO 1.2.1 on Exch2010 server.
--Tested rebooting both severs
I am at a loss. Any ideas would be greatly appreciated. I am unable to continue w/ the migration until I get past this step.Hi,
Thank you for sharing the resolution.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Thanks Gen Lin-MSFT -
Hi all,
I am trying to install CUEAC Attendant Server on Windows Server 2008 R2, tried several times. First, it got stuck on the Databahse Wizard. After three reinstalls, it still got stuck but somehow built the configure database named CFGATT and then started installing TSP. Finally, the setup has been finished and I went to the WebAdmin page. After I entered the login information, it gave an error : "
Unable to connect to the server.. Error Data : API_NOT_INITIALIZED"
I searched through the forum and found this topic :
https://supportforums.cisco.com/message/1215763
Here I found that there's a bug and I tried to do the fix myself as instructed :
http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCte44454
However, it changed nothing, looking forward to your responses.
Regards,
FikriFikri,
It is not working as this is not a supported environment, the current release is not supported on Windows Server 2008 R2.
The next release (April 2013) will support that version of Windows Server. -
Writing client app to connect to Exchange Server 2013 and set OOF for users on vacation
I am coding an C# app that should connect to Exchange Server 2013 on-premise (Servers Location is not in our Company). I`ve got an account (User and Pass) with readonly admin-rights for now and want to read and set OutOfOffice Objects for other users. I
decide to use EWS Managed API over Autodiscovery but I am bit confuse how
I tried to connect with "service.UseDefaultCredentials = true" and read contacts -> this code works:
try
ExchangeService _service
= new ExchangeService(ExchangeVersion.Exchange2013_SP1);
_service.Credentials
= new WebCredentials("service.exchange",
"1234", "domain");
_service.TraceEnabled
= true;
_service.TraceFlags
= TraceFlags.All; _service.UseDefaultCredentials
= true;
_service.AutodiscoverUrl("[email protected]",
RedirectionUrlValidationCallback);
foreach
(Contact contact in _service.FindItems(WellKnownFolderName.Contacts,
new ItemView(2)))
var test = contact;
catch
(Exception exception)
Console.WriteLine(exception);
After that I tried the same with _service.UseDefaultCredentials = false; got error -> "The Autodiscover service couldn't be located." I am not shure if this "direct log on" is the right way, On msdn I've read about "delegate access"
and "Impersonation" (NTLM and Basic Authentication) I'am a bit confused. Can anybody help me?hi,
when you set a credential, you don't have to set the UseDefaultCredentials property (it is already updated).
For autodiscover, you should try to set the property EnableScpLookup to True if you are in the Exchange domain or it is known by the current domain.
Autodiscover uses a domain query (through Active Directory) and/or a dns query (this requires a DNS register for autodiscover.domain.net) to determine the access to the autodiscover service URI.
Regards,
Désiré GOVIN Refresh IT Solutions
Maybe you are looking for
-
Game i purchased quit working. can't find it to download again.
I bought mahjong match topzilla in feb...stopped working...how do i download again?...can't find the game.
-
How to get Template(indt) filepath (CS3/JS)
Hi All, I opened indesign template file, programatically i want to know where it is? I have tried with app.activeDocument.filePath, it shows "This document is not saved, so there is no path". How can i get the filepath from the indt Regards, Sudar
-
I have an applet which will display 25 columns and n Number of rows. How can I change the cursor postion to a particular row while applet reloads? setRowSelectionInterval(int, int) may move the cursor to the particular row. But The scrollbar is still
-
Excel to PDF-numbers not lining up
Mac/Tiger/10.4.10 Excel 2004 Acrobat Pro 7.01 I'm creating a pdf from an Excel file that has numbers aligned (it's a budget). In excel the numbers are nicely lined. As a PDF, they are not. Any suggestions...thanks...
-
Xcode crashes when opening documentation
If I have a project open and then open up Xcode's documentation it will almost always crash. It will work if I load up Xcode then the documentation and then a project. ??? Also, I have to keep downloading the iPhone OS Library documentation for the d