Hi
What kind of user account should a user have to maintain and install programs on all the computers connected to that domain.
I have searched but haven't found anything about it.
SP thanks for the help.
Hi
What kind of user account should a user have to maintain and install programs on all the computers connected to that domain.
I have searched but haven't found anything about it.
SP thanks for the help.
Hello to all, I checked a lot of ways to get the following events:
1- If an attachment was read, added or deleted .
2- If a message flag was changed .
3- If a message was sent .
4- If a message was read or opened .
Mailbox Audit can not cover all these aspects. Here follows the questions:
1- Is it possible to get all theses events for all MBXs in a MBX server, not just for for one folder, but for all folders per mailbox? I checked EWS Notification events but it's not precise if what I want is possible. Can you please give some help?
2- Is EWS Notification the best way to do it? I didn't find any other way...
Your inputs will be very welcomed.
Regards, EEOC.
We have an internally written messaging service (C# app) that uses just standard SMTP to send e-mail messages from various other applications within our organization. It utilizes three different e-mails depending on the situation. For instance, we have a home grown Help Desk application that is served as a web application in our sharepoint environment. When a user adds a ticket, they get an e-mail response fromhelpdesk@ourorg.org. There are two other e-mails set to do other things also. One is EDI and another SMADONOTREPLY.
We recently migrated from on-prem Exchange to the online O365 environment. And now we are getting this error message with TWO of the addresses: "
SendMessage Failed: Autodiscover blocked a potentially insecure redirection to https://autodiscover-s.outlook.com/autodiscover/autodiscover.xml. To allow Autodiscover to follow the redirection, use the AutodiscoverUrl(string, AutodiscoverRedirectionUrlValidationCallback) overload." One of the addresses (the smadonotreply) was not converted yet and still works. The other two get this autodiscover error. How can we fix this? Thanks |
Brad Allison
Hi,
I'm using "Microsoft.Exchange.WebServices.dll" to create Office365 task . How to set"Owner, MarkPrivate" properties of task. As "Owner" property is read only.
Can anyone help me on this.
Thanks and Regards,
Tirupati
Hi,
We have a subsystem running on a remote server (to exchange) that we would like to replicate the behavior of Search-MailboxAuditLog, remotely (without an agent running on the Exchange server), without using powershell.
1) What API (DCom Objects or WMI or whatnot?) that underlies this command?
2) I've found the RESTful web api for Office 365 which looks like it would work, is there an equivalent on Exchange 2013?
Thanks,
JRP
Hi guys,
I've made a fortnightly batch processing script which reports on who is meeting whom across a group of people.
For this to work, all users need to share their full calendar with a trusted third party. Whilst this could be another mailbox, I'm wondering if I can create an onboarding process that will send the calendar request email to the end-user. Could I create such an email from EWS?
Kind Regards,
Andy Loughran
Is there a way to force the view of the Outlook calendar published through Outlook Web Access 2013 so that it displays the day or week view without the user having to click on an icon to change the view? I want to display a day view calendar (or week view) by default. I can successfully publish the calendar but a user has to click the icons to change the view. I want to display the calendar in an iframe on a digital sign and the user won't have a way to click or touch the icon. Are there parameters that can be passed in the url?
Hello
I'm trying to send an e mail using c# code and the SmtpClient class but I get this error: " 'The remote name could not be resolved: 'smtp.office365.com''.
I have looked up the Smtp settings on my online Outlook and have used the same settings as a test in the desktop version of Outlook.
I'm pretty sure I'm using the SmtpClient class correctly and have set:
- Server = smtp.office365.com
- Port = 587
- EnableSsl = true
-The To and From e mail address is a valid user in Office 365
Why does my desktop Outlook connect to the Smtp server but the c# code cannot?
Thanks
Hello,
I am trying to create appointment from Exchange Web Service, If I am trying to login to exchange server from URL then its working and allowing me to login to my exchange server but if I am trying to connect from my C# application then I am getting this error "The request failed. The remote server returned an error: (401) Unauthorized."
My current code is as below:
ExchangeService service =newExchangeService(); service.Credentials=newWebCredentials("XXX\username","pwd","exchange.domain.com"); service.Url=newUri("https://exchange.domain.com/EWS/Exchange.asmx");Appointment appointment =newAppointment(service); appointment.Subject="Status Meeting"; appointment.Body="The purpose of this meeting is to discuss status."; appointment.Start=newDateTime(2017,1,30,9,0,0); appointment.End= appointment.Start.AddHours(2); appointment.Location="Conf Room"; appointment.RequiredAttendees.Add("xyz@domain.com"); appointment.Save(SendInvitationsMode.SendToNone);
If I am trying to login from url and its also working fine.
exchange.domain.com
username - XXX\username
pwd - "pwd"
Also I have tried to login web service from URL and its work for me.
Please anyone suggest what's the wrong with C# code and how I can make working it.
Thanks.
Hi there
I have one Edge server that working in SMTP relay and I want make some limitation on this server .
actually I want make a workflow like below :
1 - check incoming mails with senders
2 - If Sent more than 100 message with same senders , pick sender domain and put in block domain senders .
I can checking mail count and sender domain but need help to how can I useing Count field for Set-SenderFilterConfig
-----------------
Get-MessageTrackingLog -Start (Get-Date).AddDays(-1) -ResualtSize Unlimited -EventID Send | Group { ($_.Sender.Split{"{@}"))[1] }
-----------------
Thanks a lot
Saeid.ADZ
What I'm trying to do is view the e-mail addresses and permissions for a specific mail-enabled public folder in a single final output. With Get-MailPublicFolder it is not possible to retrieve AccessRights, so I use Get-MailPublicFolderClientPermission for that. When running the following command in PowerShell the AccessRights value remains empty.
Get-MailPublicFolder -Identity \PathToPublicFolder | select-object name,primarysmtpaddress,emailaddresses,@{e={ ((Get-MailPublicFolderClientPermission $_.name).accessrights)};l="Access Rights"}
However when I run the following command I do get results for the AccessRights attribute.
Get-PublicFolderClientPermission -Identity \PathToPublicFolder
Please advice on how to make this piped command work.
I'm using Powershell with EWS to connect sort through a massive emailbox. It seems that the email properties show only the From header, not the actual sender header for an email. (The nice name, vs the actual email)
$emailProps = New-Object Microsoft.Exchange.WebServices.Data.PropertySet ([Microsoft.Exchange.WebServices.Data.BasePropertySet]::FirstClassProperties) $emailProps.RequestedBodyType = "Text" . . . $inboxItems = $service.FindItems($inboxFolder.Id,$searchFilter,$itemView) $inboxItems | %{ $email = [Microsoft.Exchange.WebServices.Data.EmailMessage]::Bind($service, $_.Id, $emailProps)
Hi ,
Can i access Sql Server Database through outlok using ews or exchange server.
the sql database is in other machine than exchange server but in the same network.
I want to query and insert - update in the db
Thank you
Hi Pros,
I am facing a max. message size error when calling EWS but my message seems to be much smaller than the threshold of 86016.
How is this possible?
<FindFolder Traversal="Shallow" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<FolderShape>
<BaseShape xmlns="AllProperties</BaseShape">http://schemas.microsoft.com/exchange/services/2006/types">AllProperties</BaseShape>
</FolderShape>
<ParentFolderIds>
<FolderId Id="AAMkADlmYTkzMmRiLWIxMGQtNDdlYimyFolderIdAAAAAAAli+myFolderId+jiWQJ3AAAABcRUsAAA=" ChangeKey="myChangeKey" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
/>
</ParentFolderIds>
</FindFolder>
The adapter failed to transmit message going to send port "SP.EWS" with URL "https://mydomain/ews/exchange.asmx". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.ServiceModel.CommunicationException: The maximum message size quota for incoming messages (86016) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. ---> System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages (86016) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
--- End of inner exception stack trace ---
I am coding a CRM. I am currently working with EWS and calendars. I need to know if all meetings use the same ID or unique property when the meeting is sent to different recipients.
Currently coding the CRM to work with Exchange 2010.
Anser Leon
Hi,
Earlier we were using On-prem exchange 2007 server with base os of windows 2003. When we plan to migrate mail from local exchange to O365, our server went down. So we have pointed MX record to O365 and all user can able to send and receive emails.
Is there any possibilities to export the PSTs from Local exchange?
Please help.
I search for several days to find a script for exporting contacts from selected mailboxes using powershell. I found code snipets here and there and after much work got the export to complete sucessfully. Here is the code. I'm hoping it saves someone else the time and frustration I put in.
Thanks to all who provided snipits that are pasted together here.
$dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\1.2\Microsoft.Exchange.WebServices.dll"
[void][Reflection.Assembly]::LoadFile($dllpath)
$service = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2010_SP1)
$windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$sidbind = "LDAP://<SID=" + $windowsIdentity.user.Value.ToString() + ">"
$aceuser = [ADSI]$sidbind
$service.AutodiscoverUrl($aceuser.mail.ToString())
$outputfile = "c:\ContactExport.csv"
#Header rows
'"User","First Name","Last Name","Company","Address1","City","State","Zip","Home Phone 1","Work Phone 1","Cell Phone 1","Fax/Other 1","Email 1","Home Phone 2","Work Phone 2","Email 2"' | Out-File -Encoding ASCII -FilePath $outputfile -append
#traverse mailbox and pull out All Contacts
function getcontacts ([string]$MailboxName)
{
$ContactsFolderid = new-object Microsoft.Exchange.WebServices.Data.FolderId([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::Contacts,$MailboxName)
$view = New-Object Microsoft.Exchange.WebServices.Data.ItemView(10000,0)
$findResults = $Service.FindItems($ContactsFolderid,$view)
foreach($item in $findResults)
{
"""$MailboxName"",""$($item.GivenName)"",""$($item.Surname)"",""$($item.CompanyName)"",""$($item.PhysicalAddresses[0].Street)"",""$($item.PhysicalAddresses[0].City)"",""$($item.PhysicalAddresses[0].State)"",""$($item.PhysicalAddresses[0].PostalCode)"",""$($item.PhoneNumbers[8])"",""$($item.PhoneNumbers[2])"",""$($item.PhoneNumbers[11])"",""$($item.PhoneNumbers[1])"",""$($item.EmailAddresses[0].Address)"",""$($item.PhoneNumbers[9])"",""$($item.PhoneNumbers[3])"",""$($item.EmailAddresses[1].Address)"""
| Out-File -Encoding ASCII -FilePath $outputfile -Append }
}
#Pulls names from a csv file that you provide
foreach
($MailboxName in Get-Content "c:\UN.txt")
{
getcontacts -MailboxName ($MailboxName)
}
I just discovered this SMS feature built into Outlook 2010 and would like to disable it for our entire organization. I have been searching fora while now and can't seem to locate the option. Anyone know how I can get this done? Running Exchange SP3 and Outlook 2010 on most of our client workstations.
Regards,
Adam Tyler
Hello,
We have a strange problem. We used this TechNet script:
https://gallery.technet.microsoft.com/office/Create-a-Custom-root-3aac61da
to automate custom folder creation in several mailboxes under standard Inbox folder. The script works fine and folders were created without any issues. However we also have some third party tool which connects to user mailbox via API (I guess EWS) and allow to choose any folder in the users mailbox. The problem is that this software does not allow to choose newly script created folder but allows to choose any other folders (including those custom folders which were created by users manually).
After some research I found this thread:
which describes very similar situation. However I do not completely understand how do we need to modify TechNet script to create folders correctly so they will be visible from anywhere. I think we should modify this string somehow:
$oFolder.Save([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::Inbox)
Please advise. Many thanks in advance.
Regards,
Nikolay