Quantcast
Channel: Exchange Server Development forum
Viewing all 7132 articles
Browse latest View live

Setting authentication policy enables single item recovery for Exchange Online mailbox?

$
0
0

Hi Team,

We wanted to know if Single Item Recovery is enabled by default when Exchange Online mailbox is created or it it needs to to enabled explicitly. We could see "SingleItemRecoveryEnabled" set to true for few of our mailboxes in the tenant even though we had not explicitly enabled singe item recovery. 

We had applied authentication policy to disable basic authentication for all these users, hence wanted to know if setting authentication policy somehow enables single item recovery as well?



Question On SMTP Relay-Exchange Server

$
0
0

Hi ,

We are using our exchange servers as SMTP relay for applications.

We are having an issue while sending email from power shell through exchange servers.We are using below command to send email from power shell from any server. through exchange.

send-mailmessage -from <sender> -to <recipient" -SMTPserver <Exchange Server> -subject <subject>

when we are running the command by logging admin account in the server we are not getting any error. When we are running same from a normal account in the same server we are getting below error  in power shell. Due to this we are not able to schedule the job with service account..

Error In Power Shell:

Send-MailMessage : The SMTP server requires a secure connection or the client was not authenticated. The server
response was: 5.7.1 Client was not authenticated
At line:1 char:1
+ Send-MailMessage -From "Sender" -To "recipient>...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpExcept
   ion
    + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage

At the same time we are getting below error on the exchange server.

A fatal alert was received from the remote endpoint. The TLS protocol defined fatal alert code is 46.

We are able to send email properly from telnet command with any of the accounts.

Is this any access issue? What access is needed to schedule a job in server.

Please advise..

Exchange Server on Azure

$
0
0

Hi All, 

We are planning to build email system (Exchange server) on the cloud (Azure). We are curious why on Azure we need SendGrid as SMTP relay but in on-premises, SendGrid is not required?

Thanks,

Powershell Script to Bulk import SMTP addresses for a Distribution Group

$
0
0

Hi, I need some help with a powershell script to bulk import SMTP addresses to a distribution group. We have a shared mailbox with more than 400 email addresses that need to be removed and added to a distribution group. 

Thanks 

 

Outlook Automatic reply

$
0
0

Hi All,

outllook autoreply is disabled once i close my outllook client and my recipents don't receive auto reply emails when they send me.

Kindly help me for this issue.

Regards.

outllook automatic reply

$
0
0

Hi All,

Outllook automatic reply got disabled once i close my outllook client.

Kindly help me for this issue.

Regards.

List Distribution Group Owners

$
0
0

Hello!

I need your help here. I need to get a report from Exchange 2013 (CSV) that shows all distribution groups with all their owners (group's members are not required, just owners). All owners must be displayed in the report. Groups with no owners too.

This is an example of what I need:

This could be another option too:

I tried a lot of combinations using Get-DistributionGroup but I couldn't get simething like this.

Thanks a lot for your help!

AD on-prem users with external emails as contacts in Office365

$
0
0

Hi All,

my first post here so I'm a bit exited ;)

I follow up an achived post:
https://social.msdn.microsoft.com/Forums/en-US/478e3ee9-1723-4ac7-8d58-c6d0961e000f/create-mailuser-no-mailbox-external-address-in-local-ad-and-sync-to-365?forum=WindowsAzureAD

Essentially we have no on-premise exchange server, only Exchange Online with dirsync and we need the local user object, belonging to external users, be configured correctly in order for AADSync to create it as a mail user in Office 365 (under contacts).
For example, we have an AD account with UPN m.bros@ext.contoso.com with email inserted mario.bros@gmail.com, and we want it to appear in the contacts of office365.
Till now only the "contact" odbject AD syncronizes and appears correctly as a external contact in Office365.

I have tried to follow the solution in the post but no way, these users does not appear as a contact.
https://social.msdn.microsoft.com/Forums/en-US/478e3ee9-1723-4ac7-8d58-c6d0961e000f/create-mailuser-no-mailbox-external-address-in-local-ad-and-sync-to-365?forum=WindowsAzureAD

I've set the AD attibutes:

SAMAccountname: m.bros
mail = mario.bros@gmail.com
mailNickName = m.bros
targetAddress = SMTP:mario.bros@gmail.com
proxyAddresses = SMTP:mario.bros@gmail.com

anyone that uses this in rpoduction and works?

Thank you!


Create-MailboxFolder w/ Exchange Scripting Agent / Powershell / EWS-Help Please!

$
0
0


Trying to automate the configuration of our mailboxes utilizing the Exchange Scripting Agent.  I can successfully configure the basic settings of the mailbox, but fail when trying to call another powershell script (Create-MailboxFolder) that creates a "Voicemail" folder within the users mailbox utilizing EWS.  NOTE: The Create-MailboxFolder script runs successfully (manually) outside the Exchange Scripting Agent.

The Create-MailboxFolder script is failing with multiple errors when called with the Exchange Scripting Agent, but the first is the Impersonation Rights (I think).  "Access is denied. Check credentials and try again."  RE: the Create-MailboxFolder script...it does have to run within an EMS and requires impersonation rights be configured for the user running it.

Can anyone help point me in the right direction?

_____________________________________________________________________________________

ScriptingAgentConfig.xml

XML

<?xml version="1.0" encoding="utf-8" ?>

<Configurationversion="1.0">

 <FeatureName="MailboxProvisioning"Cmdlets="New-Mailbox,Enable-Mailbox">

   <ApiCallName="OnComplete">

     if($succeeded)

     {

       Start-Sleep -Seconds 30

       $dc = [string]($readOnlyIConfigurable.originatingserver)

       if($provisioningHandler.UserSpecifiedParameters["Identity"] -ne $null)

         {

           $name = $provisioningHandler.UserSpecifiedParameters["Identity"].ToString()

         }

       elseif($provisioningHandler.UserSpecifiedParameters["Name"] -ne $null)

         {

           $name = $provisioningHandler.UserSpecifiedParameters["Name"].ToString()

         }

       else

         {

           $name = $provisioningHandler.UserSpecifiedParameters["Alias"].ToString()

         }

       Set-Mailbox -Identity $name -RetentionPolicy "Default MRM Policy" -DomainController $dc.DOMAIN.local

       Set-CASMailbox -Identity $name -ActiveSyncEnabled $false -OWAEnabled $false -OWAforDevicesEnabled $false -ImapEnabled $false -PopEnabled $false -DomainController $dc.DOMAIN.local

       $mailbox = Get-Mailbox -Identity $name | Select-Object -ExpandProperty primarysmtpaddress | %{[string]$x=$_;$x}

       C:\Scripts\Create-MailboxFolder.ps1 -Mailbox $mailbox -RequiredFolders "Voicemail" -ParentFolder "\"

     }

   </ApiCall>

 </Feature>

</Configuration>

_____________________________________________________________________________________

Error Log from Create-MailboxFolder.ps1

Using default credentials Attempting to bind to folder MsgFolderRoot (TestUser@DOMAIN.local) Error occurred attempting to bind to folder: Exception calling "Bind" with "2" argument(s): "Access is denied. Check credentials and try again., " Attempting to bind to folder  Error occurred attempting to bind to folder: Exception calling "Bind" with "3" argument(s): "Value cannot be null. Parameter name: folderId" Checking for existence of Voicemail in  Attempting to bind to folder  Error occurred attempting to bind to folder: Exception calling "Bind" with "3" argument(s): "Value cannot be null. Parameter name: folderId" GetFolder: root folder is  GetFolder: requested folder path is Voicemail

Exchange resource forest to Exchange Online migration

$
0
0
Hello,

I need to migrate linked mailboxes on a resource Exchange 2013 Forest to Office 365 and install one Exchange 2016 server on the account Forest. 

DomainA.int (Account Forest without Exchange) <=> DomainB.int (Resource Forest with mailboxes)

I've set up Azure AD Connect with the two forests, Hybrid mode, and now all mailboxes were migrated to Office 365. That's a good news :)

Obviously I need to copy Exchange attributes from DomainB.int accounts to DomainA.int accounts and remove Hybrid Mode.
Do I need to populate targetaddress attribute on DomainA.int?


What is the best order of next steps?

What could be your advice on autodiscover when I will install Exchange 2016?

Thank you.

Remove multiple calendar permissions for group members

$
0
0

Hi,

I'm looking for a script to remove permissions for members of an exchange group. The way to describe this better would be the following:

UserA, UserB and UserC currently all have their default calendar permission set as Reviewer but UserA has UserB and UserC set as calendar permissions for AvailabilityOnly. This is the same for UserB and UserC so e.g. UserC has UserA and UserB set with AvailabilityOnly but the default calendar permission is reviewer.

All three users are members of ExampleGroup

So is there a command to remove all AvailabilityOnly permissions set on everyone's calendar who is in ExampleGroup. The aim then is then people who have PublishingEditor don't get removed and their access downgraded to reviewer

WinRM cannot compete the operations.

$
0
0

Hi Al,,

i am facing the below error.

Connecting to remote server test.contoso.com failed with the
following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that
the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows
access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote
computers within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Micr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : WinRMOperationTimeout,PSSessionOpenFailed

i have already check the netsh proxy, winRM service is running, firewal is  off, time is sync. but unable to resolve.

Kindly guide to resolve the issue.

Regards

Muhammad Sajid Azeem

Will exchange 2010 still work if dc died?

$
0
0
Will exchange 2010 still works if domain controller with 5 fsmo roles is removed/dead from network. We have another gc domain controller with dns. Thanks

Email Forwarding Issue

$
0
0
Hello All,

I have a scenario in O365 Mailflow

User A Sends Email to User B

User B Has Forwarding to User C (This is done Via Set-Mailbox -id xx -ForwardingAddress yy)

User C has an Restriction and Sends an NDR, The NDR is directly sent to User A not to User C



Before Migration to O365 on Exchange 2013 version this was working as Expected.

User A Sends Email to User B

User B Forwards to User C Via the Same Forwarding

User C Sends NDR to User B.

Can anyone please confirm if this is a Known Bug.



Exchange 2010/2016 coexistance

$
0
0

Hi

I have built a 2016 Exchange server & have it coexisting with 2010.

Plan is to migrate this to 2019, once all working & 2010 removed.

Mail is working to mailboxes on 2010 & to mailboxes created on 2016, however, have the following scenario & cannot seem to figure out why

Outlook will not connect to the 2016 mailboxes. No issue connecting to 2010 mailboxes

OWA works for either exchange when connecting internally to the relevant exchange

OWA connects automatically from an external connection to 2010 using the 2010 OWA but tries to use the same to 2016, does not switch to the 2016 OWA

If I migrate a mailbox, I can no longer access it except if I use OWA internally. Outlook remains disconnected. I have restarted IIS as some suggested

I followed the Microsoft Exchange Deployment Wizard

I am not sure where to start checking or testing to figure out where the issue is, so any help or suggestion would be greatly appreciated.



Delivery restriction check failed because the sender was not authenticated when sending to this group

$
0
0
Hi all, 

Greetings! Can you guide me on this issue:

I sent an email to SalesManagement-APAC @ solarwinds.com, from my email address(pingatwork @ mydomain.com)

then I received undeliverable notice email, said that : 

 Delivery has failed to these recipients or groups:SalesManagement-APAC @ solarwinds.com. Your message wasn't delivered because the recipient's email provider rejected it.

Diagnostic information for administrators:

Generating server: BN8PR11MB3667.namprd11.prod.outlook.com

SalesManagement-APAC @ solarwinds.com
Remote Server returned '554 5.7.0 < #5.7.133 smtp;550 5.7.133 RESOLVER.RST.SenderNotAuthenticatedForGroup; authentication required; Delivery restriction check failed because the sender was not authenticated when sending to this group>'

My questions: what should I do to fix this so that pingatwork@mydomain.com can send email to SalesManagement-APAC @ solarwinds.com?

Thank you


Exchange 2016 - Retention Policy starts counting days from date of Policy creation.

$
0
0

Hello All,

Recently I created Retention Policy, that has to delete emails in "Deleted items" whose age reaches 30 days.

What I found before couple of days, that Retention policy starts counting these 30 days from Policy creation day.

For example: If there are emails in "Deleted items" dated by April 2020 and the Retention Policy was created on 20th of July 2020, then the emails will be deleted on 20th of August 2020(exactly 30 days from Policy Creation).

I can't find any documentation that supports my assumption, but this is what happening.

My question is whether my assumption is right? Would appreciate if you can point me at some Microsoft explanation of such behavior.

BR,

Pavel

Yammer notification email content are not readable in OWA on-premise Exchange 2013

$
0
0

Hi ,

We have Exchange 2013 enviornment

Users are unable to view yammer notifications from Outlook web access

The  message body is blank.

We have tried it from different browsers.

From Outlook , it works fine

Regards

Avi

[Exchange 2019] Internal/external mail rules forwarding

$
0
0

Hello

is it possible to create the following setup in exchange 2019?

-External incoming mail from  UserA@domain.com UserB@domain.com UserC@domain.com wil be forwarded to info@domain.com

-Internal mail wil normal delivered to  UserA@domain.com UserB@domain.com UserC@domain.com

so the user didnt receive personal mail from outside the office, but internal mailing is possible
Now i have a set a rule - mail with adress  UserA@domain.com UserB@domain.com UserC@domain.com forward to info@

but when they try to mail internal, the mail forward also to the info@

is there a solution to separate this internal/external option?



Issues with MAPI profile creation on Windows 2019

$
0
0
Hi Team,

We are currently facing issues with MAPI profile creation on Windows 2019 server with Office 2019. When the profile was created for the first time with one user, it had got created successfully and further our application also worked fine.

Now, when we deleted the existing profile and created a new profile using another user, the profile got created successfully but our application stopped working. We are getting the below error:
An error occurred: The Messaging Application Programming Interface (MAPI) function 'IMAPISession::OpenMsgStore (private)' failed with return code 'MAPI_E_FAILONEPROVIDER'.

This scenario used to work with Office 2016/Office 2019 on Windows 2016 server. Hence we wanted to know if any changes are made at profile creation level with Office 2019 on Windows 2019 OS. Or if there is any other file/location where the older user credentials are getting referred from. 
Viewing all 7132 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>