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

Push notification from EWS - Exchange server web service

$
0
0

Hello,

Please suggest me on this:

Application runs as below:

Web Console (Angular) runs over Node Js.

API's in Node Js consumes EWS client to talk to Exchange server.

Requirement is:

1. Front end web console should notify admin if any new user/meeting room is added to the exchange server system.

2. As we can create user account and meeting room account from exchange server also.

3. Is there any push notification from EWS, on user account/ meeting room creation at exchange server?

Any suggestions will be appreciated.

Thanks,


Cheers, Chetan


Need to download and install O365 for brandnew computer

$
0
0

Hi All

Let us know to download and install O365 for brandnew computer

Thanks

How to install Exchange Server 2019 on Windows Server 2019 Core Step-by-Step

$
0
0
Tuesday, July 24, 2018

The following is a public service announcement that provides a step-by-step walk-through for installing Exchange Server 2019 on Windows Server 2019 Server Core.

As announced, Exchange 2019 can be installed either on Windows Server 2019 with a GUI or Windows Server 2019 Core. Since Server Core lacks most GUI aspects, we need to use PowerShell and Remote Server Administration Tools (RSAT) to manage and administer Server Core. Here's how to install Windows Server 2019 Core and install Exchange Server 2019.

http://www.expta.com/2018/07/how-to-install-exchange-server-2019-on.html



Jeff Guillet, MVP, MCSM, MCITP:Enterprise Messaging Administrator, MCSE, CISSP | http://www.expta.com

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.

Outlook 2016 Add-in - Find mailbox that selected mail item belongs to

$
0
0

Hi,

I am trying to develop an Add-in for shared mailbox which is added to user's mailbox as shared folder for Outlook 2016.

so by the outlook.js i can get selected item id. is there anyway i can find the information like which folder it is in or which mailbox it is in?

Thank you.


Only God Knows


Say Bye-Bye to Exchange Unified Messaging in Exchange Server 2019

$
0
0

Exchange Unified Messaging was first introduced in Exchange Server 2007 and has been in every version of Exchange Server since - until now. In the Exchange Server 2019 Public Preview announcement it was revealed that UM is being dropped in Exchange Server 2019. Here are your options.

http://www.expta.com/2018/07/say-bye-bye-to-exchange-unified.html



Jeff Guillet, MVP, MCSM, MCITP:Enterprise Messaging Administrator, MCSE, CISSP | http://www.expta.com

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.

exchange2010sp3 预订会议修改后时区变化

$
0
0

下图是预订会议的邮件。能看到时区是正确的。

我更改了内容和会收到更新会议邮件,如下图,可以看到的时区发生变更

我应该如何解决这个问题?让前后时区保持统一?

我创建和更新会议的时候都设置了时区代码,如下图

Effect of PowerShell to Remove Exchange Attributes

$
0
0

If you use a PowerShell Script like the one below, shouldn't the mailbox show up in the Exchange 2010 console under disconnected mailboxes?

Remove Exchange Attributes
----------------------------

Remove Exchange 2010 Attributes for a Corrupted Active Directory Account

Caution : Mailbox Will Go Disconnected and Exchange Attributes will be Removed" -ForeGround "Cyan"


$EnterUser = Read-Host "Enter Alias"

$ADaccount = Get-User "$EnterUser"

$FullDistinguishName = "LDAP://" + $ADaccount.distinguishedName

$AccountEntry = New-Object DirectoryServices.DirectoryEntry $FullDistinguishName

$AccountEntry.PutEx(1, "mail", $null)
$AccountEntry.PutEx(1, "HomeMDB", $null)
$AccountEntry.PutEx(1, "HomeMTA", $null)
$AccountEntry.PutEx(1, "legacyExchangeDN", $null)
$AccountEntry.PutEx(1, "msExchMailboxAuditEnable", $null)
$AccountEntry.PutEx(1, "msExchAddressBookFlags", $null)
$AccountEntry.PutEx(1, "msExchArchiveQuota", $null)
$AccountEntry.PutEx(1, "msExchArchiveWarnQuota", $null)
$AccountEntry.PutEx(1, "msExchBypassAudit", $null)
$AccountEntry.PutEx(1, "msExchDumpsterQuota", $null)
$AccountEntry.PutEx(1, "msExchDumpsterWarningQuota", $null)
$AccountEntry.PutEx(1, "msExchHomeServerName", $null)
$AccountEntry.PutEx(1, "msExchMailboxAuditEnable", $null)
$AccountEntry.PutEx(1, "msExchMailboxAuditLogAgeLimit", $null)
$AccountEntry.PutEx(1, "msExchMailboxGuid", $null)
$AccountEntry.PutEx(1, "msExchMDBRulesQuota", $null)
$AccountEntry.PutEx(1, "msExchModerationFlags", $null)
$AccountEntry.PutEx(1, "msExchPoliciesIncluded", $null)
$AccountEntry.PutEx(1, "msExchProvisioningFlags", $null)
$AccountEntry.PutEx(1, "msExchRBACPolicyLink", $null)
$AccountEntry.PutEx(1, "msExchRecipientDisplayType", $null)
$AccountEntry.PutEx(1, "msExchRecipientTypeDetails", $null)
$AccountEntry.PutEx(1, "msExchTransportRecipientSettingsFlags", $null)
$AccountEntry.PutEx(1, "msExchUMDtmfMap", $null)
$AccountEntry.PutEx(1, "msExchUMEnabledFlags2", $null)
$AccountEntry.PutEx(1, "msExchUserAccountControl", $null)
$AccountEntry.PutEx(1, "msExchVersion", $null)
$AccountEntry.PutEx(1, "proxyAddresses", $null)
$AccountEntry.PutEx(1, "showInAddressBook", $null)
$AccountEntry.PutEx(1, "mailNickname", $null)

$AccountEntry.SetInfo()


John M.

problem with EWS script to delete inbox rules in peoples mailbox using multi threading

$
0
0


Hi there 

I am trying to write a script to remove 2 inbox rules from multiple peoples mailbox ('Redirect1' and 'DL Redirect')

but its not working not sure what is wrong with it - it doesnt delete the rule and doesnt seem to move through the list of people when it did work for 1 person - not using multithreading - reason i want to use this is there are over 2000 people with the rules in their inbox

[CmdletBinding()]

    param(



    [parameter( Mandatory=$false, Position=0)]
[switch]$MultiThread=$false



)



begin{




        $Jobs = @()
        $Sessionstate = [system.management.automation.runspaces.initialsessionstate]::CreateDefault()
        $RunspacePool = [RunspaceFactory]::CreateRunspacePool(1, 10,$Sessionstate, $Host)
        $RunspacePool.ApartmentState = "STA"
        $RunspacePool.Open()


        $error.clear()
        [string]$LogFile = "C:\Temp\Log.txt"  
        if($LogFile)
        {
            Remove-Item $LogFile -ea SilentlyContinue
        }


        $proxysettings = New-PSSessionOption -ProxyAccessType IEConfig

        Import-Module -Name "C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.dll"
        $psCred = Get-Credential #get admin creds
        $cred = New-Object System.Net.NetworkCredential($psCred.UserName.ToString(),$psCred.GetNetworkCredential().password.ToString())
        $Exchangeservice = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService
        $ExchangeService.credentials = $cred
        $PrimarySmtpAddress = Import-Csv .\testrule.csv


}



process {

  function Get-CreateRule()
  {
       param(


         [Parameter(ValueFromPipelineByPropertyName=$true)]
          [string]
            $alias,  
        [Microsoft.Exchange.WebServices.Data.ExchangeService]$exchangeService


       )  



    write-host -ForegroundColor DarkBlue "DEF in function"
    write-host -ForegroundColor DarkGreen $alias


        $rules = $ExchangeService.GetInboxRules($alias)
        Write-Host -ForegroundColor DarkGreen $rules
      foreach($rule in $rules)
        {
            Write-Host -ForegroundColor DarkGreen $rule.displayname
            if($rule.displayname -eq 'Redirect1')
            {

                $delrule = $rule.Id
                $RuleOperation = [Microsoft.Exchange.WebServices.Data.DeleteRuleOperation]::new($delrule)


            }
            if($rule.displayname -eq 'DL Redirect1')
            {

                $delrule1 = $rule.Id
                $RuleOperation = [Microsoft.Exchange.WebServices.Data.DeleteRuleOperation]::new($delrule1)


            }

            $ExchangeService.UpdateInboxRules([Microsoft.Exchange.WebServices.Data.RuleOperation[]]@($RuleOperation), $true)




}


  # $rules     

  }

    if($MultiThread)
    {


        $ScriptBlock = [scriptblock]::Create((Get-ChildItem Function:\Get-CreateRule).Definition)

        foreach($user in $PrimarySmtpAddress){

         try{ 


                            $i = Get-Mailbox $user.nnumber | select primarysmtpaddress, alias #extract primarysmtp and alias

                            $alias = $i.primarysmtpaddress



                            $id = New-Object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId -ArgumentList "SmtpAddress",$alias   #using Impersonation to create rule
                            $ExchangeService.ImpersonatedUserId = $id

                            $ExchangeService.AutodiscoverUrl($alias)              

            }catch{

                $errcond = $_.Exception.Message
                $timestamp = (get-date).DateTime
                "Time of exception:  $timestamp" | Out-File $LogFile -Append
                "User: $user" | out-file $LogFile -Append
                $errcond | out-file -FilePath $LogFile -append
            }


            $i = $null

          $PowershellThread = [powershell]::Create().AddScript($ScriptBlock)
          $PowershellThread.AddArgument($alias) | Out-Null

          $PowershellThread.AddArgument($ExchangeService) | Out-Null

          $PowershellThread.RunspacePool = $RunspacePool
$Handle = $PowershellThread.BeginInvoke()
$Job = "" | Select-Object Handle, Thread, object
$Job.Handle = $Handle
$Job.Thread = $PowershellThread
$Job.Object = $user #.ToString()
$Jobs += $Job

            $alias = $null
        }

    }    
}



  end{ 
        $results = @()
        if($MultiThread)
        {
            While (@($Jobs | Where-Object {$_.Handle -ne $Null}).count -gt 0)  {
               ForEach ($Job in $($Jobs | Where-Object {$_.Handle.IsCompleted -eq $True})){
    $results+=$Job.Thread.EndInvoke($Job.Handle)
    $Job.Thread.Dispose()
    $Job.Thread = $Null
    $Job.Handle = $Null

        }   

            }
            $results
            $RunspacePool.Close() | Out-Null
        $RunspacePool.Dispose() | Out-Null
        }


  }       



                                                                                                                                                                                                                                                                                                                                                                                          

[ExchangeOnline][Powershell]Problem removing calendar permissions for a deleted user in office 365

$
0
0

I asked this question in the Powershell subreddit today but am trying to get closer to people who specialize in this area. Please move if I didn't pick the appropriate forum.

I have a user Suzie who gave user Anita reviewer permission on her calendar (not their real names). Anita subsequently left and her Office 365 mailbox was deleted before removing permissions from Suzie's calendar. Now when I try to change or remove her permissions, I get this error:

Remove-MailboxFolderPermission -identity sjames -user aclark -confirm:$false

There is no existing permission entry found for user: aclark.
    + CategoryInfo          : NotSpecified: (:) [Remove-MailboxFolderPermission],
      UserNotFoundInPermissionEntryException

The help for Remove-MailboxFolderPermission says the User parameter can be any of

Name
Display name
Alias
Distinguished name (DN)
Canonical DN
Email address
GUID

I've tried all forms of Anita's name and email address. I even cobbled together the DN format of her name. All give the above error or ones like below:

The user "aclark@company.com" is either not valid SMTP address, or there is no matching information.+ CategoryInfo          : NotSpecified: (:) [Remove-MailboxFolderPermission], 
       InvalidExternalUserIdException 

There is still an MsolUser record for Anita, but it seems to be trying to validate the name against mailbox info which is gone. It doesn't show a DN or CN format or a GUID.

Does anybody know of any other way to delete the entry?

Automatic download of pictures in OWA and Outlook 2010 not allowed with internal addresses via PowerShell

$
0
0

Hello,

We are on Exchange 2010 and Outlook 2010.

The problem is  that the internal address which is a mailbox account will not add. The Outlook 2010 GPO is not reliable, plus it doesn't capture OWA users. I need to allow pictures to automatically download from a internal safe sender account.

//************************************

Set-MailboxJunkEmailConfiguration -Identity user -TrustedSendersAndDomains @{Add="corporatecommunication@domain.com"}
Property validation failed. Property = TrustedSendersAndDomains (System.String)
Error = "corporatecommunication@domain.com" is in your organization and can't be added to Safe Senders and Recipients..+ CategoryInfo          : NotSpecified: (0:Int32) [Set-MailboxJunkEmailConfiguration], PropertyValidationException+ FullyQualifiedErrorId : 2696E7D7,Microsoft.Exchange.Management.StoreTasks.SetMailboxJunkEmailConfiguration

//************************************

Any ideas?



ارقام اعطال باور || 01223179993 || Power air conditioning || 01207619993 || اصلاح تكييف باور

$
0
0
ارقام اعطال باور ||  01223179993 || Power air conditioning ||  01207619993 || اصلاح تكييف باور

Is there a possibiliity to poll resource mailboxes concurrently, for calendar meetings data.

$
0
0

1. Background:

We have a windows service application (developed in c#) that runs in customer environment, and collects Rooms and calendar meetings data from those rooms, from their Office 365 environment and sends to the collection server.

2. Current Exchange Web Service reference (DLL) used in the application:

Name : Microsoft.Exchange.WebServices

Runtime version : v2.0.50727

Version : 15.0.0.0

3. Issue:

Collecting calendar meeting data from ~400 rooms mailboxes, takes a lot of time (more than 24 hours); when queried serially.

-> Is there any documentation that details on how to make EWS threadsafe to poll all the room mailboxes concurrently?

-> And which throttling parameters should be addressed to make this happen?

-> Would it also require any administrative setting changes on the infrastructure itself? (Exchange Server or Office 365)

Any help is greatly appreciated.


Flagging an email message using ews

$
0
0

Hello,

I am new to EWS and I am wanting to set the EmailMessage class Flag to being flagged.  I am creating an email draft and I want to set the properties for that email to high importance and make the message flag icon appear in outlook but using EWS.

I figured out how to set the importance for the email:

    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);

    EmailMessage email = new EmailMessage(service);

    email.Importance = Importance.High;

But I can't figure out how to set the flag property.  Can someone please help me with this?

Thank you.

EWS: Set follow-up on an email

$
0
0

Using Exchange 2007 webservices

I want to set a follow up for an existing message, but i don't seem to be able to find an entry point to start with.

In Outlook it's all very easy, right-click message, select folow up etc, but how to build it using EWS?

Currently i have the updateItem operation and try to set extended properties with PathToExtendedFieldType, but i have not found the correct parameters (and don't know if it is the correct way at all)

 

Any help would be appreciated!

 

Are there ways to programmatically generate MS journal report for given e-mail ?

$
0
0

I want to programmatically(preferably using C#) generate MS Journal report (using EWS or alternatives) for given email(eml/msg file). 

I have explored EWS documentation & Outlook Interop API but couldn't find any API to generate journal report. Please advise.Thank You. 


The client cannot connect to the destination specified in the request

$
0
0

All,

some reason suddenly all my exchange servers stop connecting(management Shell, Management Console), not able to find out

what trigger to stop all 4 servers at same time.

Already verified followings

 -- Restarted

 -- restarted IIS, verified all apppools

 -- verified all automatic services are running

can someone suggest what could be the issue.



S.Venkata Appaji

how to release IP from hotmail blacklist

$
0
0

I could not send from my outlook email to hot mail account, it show me you ip address is in block list, so  i need to remove it.

after i click on the link to send information from Microsoft, it doesn't work.

https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3

Remote parallel build

$
0
0

Hi everyone,

im working on vs2015 in windows with remote compile at Linux. I was trying to find the possibility to use Multi processing build at linux (as /MP at windows) throught my vs interface, is it possible ?

I know that linux supports it while adding -j N flag in make command, but I wasn`t able to find it at my visual project proprerties.

Thanks

trane مركز الصيانة المعتمد ترين ٠١٠٩٦٩٢٢١٠٠ -- ٠١١٢٩٣٤٧٧٧١

$
0
0

مركز صيانة وتصليح تكييفات ترين 

 صيانة مكيف ترين فى مصر | ٠٢٣٥٧٠٠٩٩٤|٠١٠٩٥٩٩٩٣١٤|٠١٢٢٣١٧٩٩٩٣ |

 خدمة اصلاح تكيف ترين ((٠٢٣٥٧١٠٠٠٨|٠١٠٩٦٩٢٢١٠٠|٠١١٢٩٣٤٧٧٧١ ))

 خبراء صيانة ترين  ||  ٠١٢١٠٩٩٩٨٥٢|  ٠١٠١٠٩١٦٨١٤|٠١٠٩٦٩٢٢١٠٠||

اهلا بكم فى مركز الصيانة المعتمد لمنتجات شركة

 ترين العالمية حيث اننا نقوم بصيانة تكيفات ترين العالمية

trane trane  trane  trane  trane  trane

 trane trane  trane  trane  trane  trane

 trane trane  trane  trane  trane  trane

 

٠١١٥٤٠٠٨١١٠ @   ٠٢٣٥٦٨٢٨٢٠  @  ٠٢٣٥٦٩٩٠٦٦ ٠١٠٩٣٠٥٥٨٣٥ @     ٠١٠٦٠٠٣٧٨٤٠  @  ٠١٢٨٣٣٧٧٣٥٣  

صيانة , ترين, trane, ,وكيل, اصلاح ,تكيفات, تكيف, مركز, خدمة, توكيل, مكيفات , مكيف هواء ,تصليح , شحن,تغيروحدةريموت,تركيب

 

المركز الرئيسى صيانة كلفينيتور الوكيل ٠٢٣٥٧١٠٠٠٨

$
0
0

المركز الرئيسى صيانة كلفينيتور الوكيل    ٠٢٣٥٧١٠٠٠٨

Kelvinator 

وكلاء صيانة ثلاجة كلفينيتور, وغسالة كلفينيتور

 ثلاجات كلفينيتور , ايس ميكر كلفينيتور ، ديب فريزر كلفينيتور,غسالات كلفينيتور

٠١٢٢٣١٧٩٩٩٣//٠١١٥٤٠٠٨١١٠//٠١٢٢٣١٧٩٩٩٣

٠٢٣٥٧١٠٠٠٨/٠٢٣٥٦٩٩٠٦٦

مركز توكيل صيانة كلفينيتور المعتمد

صيانة توكيل ثلاجة كلفينيتور وغسالة كلفينيتور

صيانة توكيل ثلاجات كلفينيتور  ٠١٠٩٦٩٢٢١٠٠

صيانة توكيل ديب فريزر كلفينيتور٠١٢١٠٩٩٩٨٥٢

صيانة توكيل ايس ميكر كلفينيتور٠٢٣٥٧٠٠٩٩٤

صيانة توكيل فريزر كلفينيتور  ٠١١٢٩٣٤٧٧٧١

توكيل جميع اجهزة كلفينيتور

توكيل شركة كلفينيتور العالمية لصيانة الاجهزة المنزلية

٠١٢٢٣١٧٩٩٩٣//٠١١٥٤٠٠٨١١٠

٠١٠٦٠٠٣٧٨٤٠//٠١٢٢٣١٧٩٩٩٣//٠١١٥٤٠٠٨١١٠

٠١٠٦٠٠٣٧٨٤٠//٠١٢٢٣١٧٩٩٩٣//٠١١٥٤٠٠٨١١٠

٠١٢٢٣١٧٩٩٩٣//٠٢٣٥٧١٠٠٠٨  // ٠٢٣٥٦٩٩٠٦٦

Viewing all 7132 articles
Browse latest View live


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