Hi there,
Is there a way to set a user's mailbox to cached exchange mode or offline mode through Exchange Management Shell?
Or even if there is a way to view what their outlook profile is set to would help.
thanks,
Hi there,
Is there a way to set a user's mailbox to cached exchange mode or offline mode through Exchange Management Shell?
Or even if there is a way to view what their outlook profile is set to would help.
thanks,
Hi Friends,
Kindly find the below event and give a solution.
Log Name: Application
Source: MSExchangeSA
Date: 6/21/2018 3:33:31 PM
Event ID: 9334
Task Category: (13)
Level: Error
Keywords: Classic
User: N/A
Computer: RDVQUDES01.quadsel.in
Description:
OABGen encountered error ffffffff while initializing the offline address book generation process. No offline address books have been generated. Check the event log for more information.
- \POCAddressBook
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeSA" />
<EventID Qualifiers="49152">9334</EventID>
<Level>2</Level>
<Task>13</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-06-21T10:03:31.000000000Z" />
<EventRecordID>1423501</EventRecordID>
<Channel>Application</Channel>
<Computer>RDVQUDES01.quadsel.in</Computer>
<Security />
</System>
<EventData>
<Data>ffffffff</Data>
<Data>\POCAddressBook</Data>
</EventData>
</Event>
We have user A, who is a delegate of user B. Both have their archive enabled.
When we use ArchiveItem on an Item in the Inbox of A (with the credentials of user B) it gets moved to the archive Inbox of user B.
Any idea how we could circumvent this?
I'm working on a feasibility study of Exchange single mailbox/item recovery for our product. I find that there are some third part software can extract items from .edb file , and export specific items to .pst file. But there is not public Exchange SDK about this functionality. So I want to know is there any special API be provided for third part partener about this extract .edb file? if not, are there any another way to implement this functionality?
Hey,
I'm working on a synchronization service between exchange online and an internal application. When working with recurrence, outlook supports setting an interval property when creating an event that needs to repeat every year, every two years, or any other interval. It seems as though exchange online doesn't support the interval property.
I looked at the managed API source on GitHub. The class is defined here. With a issue similar to this one here. In the issue they describe that the exchange service doesn't support the interval property. And it seems to line up with the docs.
My question ultimately is, if I want to identify what the interval of a yearly recurring event is via exchange, how can I do it? Any work around or anything?
The property has to be a part of exchange otherwise calendar items wouldn't get created properly, but it doesn't seem to exist via an accessible method.
Thanks.
change Bing to google
Hi folks,
Are there any APIs which queries the authorization end point for OAuth process for an Exchange on-Premises server without the need of knowing one's credential?
Thanks,
Hi,
I have installed exchange management tool in my system and i am using Enable-Mailbox query for enable the user mail property. I am using remote login for using this query.
Sample code for login:
string ConnectionUri = http://SERVERNAME/powershell?serializationLevel=Full; string sPassword = TextBoxExchangePassword.Text; SecureString sSPassword = new SecureString(); foreach (char X in sPassword) sSPassword.AppendChar(X); PSCredential Credential = new PSCredential(TextBoxExchangeUser.Text, sSPassword); // Set the connection info WSManConnectionInfo ConInfo = new WSManConnectionInfo((new Uri(ConnectionUri)), "http://schemas.microsoft.com/powershell/Microsoft.Exchange", Credential); ConInfo.AuthenticationMechanism = AuthenticationMechanism.Kerberos;
ConInfo.SkipCACheck = true;
ConInfo.SkipCNCheck = true;return ConInfo;
this is my code for login to remote of exchange 2007 but it fails and gives an error :
Connecting to remote server failed with the following error message : The WinRM client received an HTTP status code of 403 from the remote WS-Management service.
So can you tell me what i am doing wrong because this method works fine in Exchange 2013. Or there is any other method for doing this.
Thank you
We want to create/delete/modify or change mailbox with c# (we are writing custom software)
- Can we use c#?
- Must we use EWS?
- Are Create and modify possible with EWS and c# ?
Hi folks,
I am wondering if using Modern Auth with certificate-based auth as multi-factor auth is a possible config for clinets to login Exchange server?
Thanks!
Hi ,
I have used Exchanged Managed API to carry out some customization in Exchange online. I want to send a shared Calendar invitation to the exchange users in office365. But getting below error
An internal server error occurred. The operation failed., Value cannot be null. Parameter name: frontEndLocator .
I search for this parameter but didn't find any information related to this parameter. Is it some extended property that needs to be set or any other invitation parameter. I have used the same code in Exchange 2010 and it was working.
I have used the code from this for sending the shared calendar invitation:
https://willcode4foodblog.wordpress.com/2012/04/14/understanding-sharing-invitation-requests-ews-managed-api-1-2-part-2/
Please help me in resolving the issue .
Thanks !!
Hi I am currently working with c# in Visual Studio. I am using a class "SmtpClient". That class has method Send() which send email to multiple email address. The method works most of the time where the customer receives emails. However, Somtimes the Send() method throws an SmtpException with the message of "The operation timed out". I don't know who to reach out to get help in this matter.
Please Help.
Thank You in Advance.
Hi,
I am facing some issue while working with Exchange on a .net core application. It is giving null reference error while calling AutodiscoverUrl(). Following is piece of code I am using, same code works fine when called from a .net application -:
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
try
{
service.EnableScpLookup = false;
service.Credentials = new WebCredentials("*****@outlook.com", "******");
service.Timeout = 25000;
string email = "*****@outlook.com";
if (!string.IsNullOrEmpty(email) && email.Split('@').Length > 1)
{
service.AutodiscoverUrl(email, RedirectionUrlValidationCallback);
}
}
catch(Exception ex)
{
}
Line service.AutodiscoverUrl(email, RedirectionUrlValidationCallback) gives Null reference error. Exception message is "Object reference not set to an instance of an object." Exception source is "Microsoft.Exchange.WebServices".
StackTrace -:
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverRequest.GetResponseStream(IEwsHttpWebResponse response) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\Requests\\AutodiscoverRequest.cs:line 466\r\n at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverRequest.InternalExecute() in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\Requests\\AutodiscoverRequest.cs:line 115\r\n at Microsoft.Exchange.WebServices.Autodiscover.GetUserSettingsRequest.Execute() in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\Requests\\GetUserSettingsRequest.cs:line 95\r\n at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetUserSettings(List`1 smtpAddresses, List`1 settings, Nullable`1 requestedVersion, Uri& autodiscoverUrl) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\AutodiscoverService.cs:line 1064\r\n at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetSettings[TGetSettingsResponseCollection,TSettingName](List`1 identities, List`1 settings, Nullable`1 requestedVersion, GetSettingsMethod`2 getSettingsMethod, Func`1 getDomainMethod) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\AutodiscoverService.cs:line 973\r\n at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(List`1 smtpAddresses, List`1 settings) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\AutodiscoverService.cs:line 878\r\n at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetSoapUserSettings(String smtpAddress, List`1 requestedSettings) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\AutodiscoverService.cs:line 827\r\n at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress, UserSettingName[] userSettingNames) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Autodiscover\\AutodiscoverService.cs:line 1667\r\n at Microsoft.Exchange.WebServices.Data.ExchangeService.GetAutodiscoverUrl(String emailAddress, ExchangeVersion requestedServerVersion, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Core\\ExchangeService.cs:line 4458\r\n at Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl(String emailAddress, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback) in \\\\REDMOND\\EXCHANGE\\BUILD\\E15\\15.00.0913.015\\SOURCES\\sources\\dev\\EwsManagedApi\\src\\EwsManagedApi\\Core\\ExchangeService.cs:line 4383\r\n
Any help will be appreciated.
Thanks
Priyank
Hi!
Trying to create new public contacts folder on fresh exchange server 2016 via administrator account
var folder = new ContactsFolder(_service); folder.DisplayName = "foobar"; await folder.Save(WellKnownFolderName.PublicFoldersRoot);
Getting exception
Unhandled Exception: Microsoft.Exchange.WebServices.Data.ServiceResponseException: Access is denied. Check credentials and try again., Could not create folder PublicContacts.
at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.<ExecuteAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Exchange.WebServices.Data.Folder.<Save>d__17.MoveNext()
Which permissions should be set to allow creation of public folders?
Hi folks,
I would like to ask if it is possible to get the Exchange server url via AutoDiscover service when I only have one's email address but not the credentials?
Can I use the realm field in the www-authenticate header as the server url when doing a realm autodiscovery?Many thanks!
Hello
I assign username and password for one application but I want set only this IP can login exchange EMS use this user , another IP then can not login EWS with this user
Best Regards,
Thanks
Our child domain DC corrupted and need to restore from backup. After restore, we found the exchange 2016 server cannot view the child domain object. And we failed to create mailbox on child domain also.
The error is:
The global catalog verification failed. The global catalog is not available or does not support the operation. Some part of the directory is currently not available. Active directory response: 000020E1: SvcErr: DSID-03200674, problem 5002 (unavailable), data 0
Any idea?
Best Regards
Andy
Andy Chong
I have tow sites with same domain , first site ( Main Site ) has 2 HUB/CAS & 2 MBX servers , second site ( DR Site ) has 1 HUB/CAS & 1 MBX Server ,
every site has Active Directory , I created one DAG for all sites and all MBX in every site is member in this DAG. also i put one of HUB/CAS in first site as witness Server and alternate witness Server in HUB/CAS in DR site.
please advise if this design is correct of i should modify it ?
also what is the correct procedure to Fail over to the DR site if i shutdown the all Main Site or shutdown WAN link from Main Site
Thanks