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

Moving public folder to another server

$
0
0

Hi,

Could someone advise me on moving public folders from one exchange 2003 server and another exchange server 2003 within the same domain?

I looked up on Internet and found ways such as “Move All Replicas” or "PFMigrate" tool to use. What is the right way to use?

option 1

1. note down how many of public folder Instances

2. "Move All Replicas" to another server

option 2

1. Use PFMigrate tool. For example 25 items at a time to move

> cscript PFmigrate.wsf /S:old /T:new /n:25 /f:"c:\temp\pfmigrate-add.log" /a

2. once all replicas are on new server, remove the old server's replica

> cscript PFmigrate.wsf /S:old /T:new /n:25 /f:"c:\temp\pfmigrate-del.log"/d

3. Rehome public folder

4. Replicating public folder Hierarchy.

EDB is about 20GB so not sure how long will it take to move over WAN. Could someone advise me the best option method?

Thank you very very much in advance.

Cheers,

Pwint


Powershell and Jquery

$
0
0

Hi,

I have to create a report for the size's mailbox per user and i succeed to simple result in html. Now, I want to import jquery and add some classes. This is a test i show you..

Now this my script, I'm trying to import bootstrap and i'm thinking that's works but i can't see the changing...

This is my script :

$HTMLHeader = @"
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="css/boostrap.min.css" />
"@
Get-MailboxStatistics -Database "XXXXXX" | select displayname, itemcount, totalItemSize | ConvertTo-Html -head $HTMLHeader | Set-Content c:\bootstrap\test.html

the different folder of bootstrap are located in the root from my C:\bootstrap

As I said, I would like use differents classes like "hero-unit" and so on but my question is how can I import them into my scrip ? 

Somebody can help ?

Thank you

Remote wipe Outlook from exchange server?

$
0
0

We are running Exchange 2010, i know you can remote wipe a phone from the server but is it possible to remotely wipe Outlook that's on a laptop? 

Say if the laptop gets stolen or an employee gets fired and all of the e-mails are accessible would it be possible to get Exchange to wipe Outlook next time it tries to communicate with the server?

create an ical from a users exchange mailbox calendar with ews

$
0
0

Hello,

is there a way to export (save) a users calendar as an ics file over ews?

Regards

Ioannis

Exchange Server 2010 EMC Error

$
0
0

Hi, I have installed Exchange Server 2010 SP3 in Windows Server 2012 Domain Controller. After the successful installation, I am not able to view the options in the Exchange Management Console. It gives the error "The WinRM client cannot process the request. It Cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid."

Can anyone help on this issue to solve this. Thanks in advance.

Regards
Babu

Exchange Web Service 2007 SP1 "The property Body can't be used in FindItem requests".

$
0
0

I'm trying to get the body of the email back and I can't understand why I keep getting this error.  I've defined it in the PropertySet.

Here's a snippet of the code I'm using.

List<SearchFilter> searchFilterCollection = new List<SearchFilter>();
            searchFilterCollection.Add(new SearchFilter.ContainsSubstring(ItemSchema.Body, "Delivery has failed to these recipients or distribution lists"));

            // Find all items where the body contains "Delivery has failed to these recipients or distribution lists"
            SearchFilter searchFilter = new SearchFilter.SearchFilterCollection(LogicalOperator.Or, searchFilterCollection.ToArray());

            // Create a vwe with a page size of 50
            ItemView view = new ItemView(500);

            // IDentify the Subject and DateTimeRecieved properties to return.
            // Indicate that the base property will be the item identifier
            view.PropertySet = new PropertySet(BasePropertySet.FirstClassProperties, ItemSchema.Subject, ItemSchema.DateTimeReceived, ItemSchema.Body);

            // Order the search results by the DateTimeRecieved in decending order
            view.OrderBy.Add(ItemSchema.DateTimeReceived, SortDirection.Descending);

            // Set the traveral to shallow. (SHallow is the default option; other options are Associated and SoftDeleted.)
            view.Traversal = ItemTraversal.Shallow;

            // Send the request to search teh Inbox and get the results.
            FindItemsResults<Item> findResults = service.FindItems(WellKnownFolderName.Inbox, searchFilter, view);

Show your tasks in the calendar view - Outlook Web App

$
0
0

Hi,

Is it possible to show your tasks in the calendar view in Outlook Web App 2013 ?

Some explanations of what I want to do :-)

We use Project Server so user can encode their work, this tasks are sync with an Exchange Server 2013 so tasks can be view in Outlook Web App. It's working really fine but we also want that in OWA, tasks are showed in a calendar so users can share what they have to do.

How can we add the tasks into a calendar or how can an user can easily share what he do ?

Thanks,

Patmol

Implement microsoft exchange server with dynamic ip

$
0
0
Hello admin
                  I registered domain in godaddy i want to implement exchange server lab at home .I dont have static ip give me any idea step by step how to implement exchange server with dynamic ip most of the people give me idea  to join dyndns or no-ip but those people give me idea not give step by step instruction how i configuration networksolution domain manager if i join dyndns or no-ip please guide me thanks 

Exch 2013: Get-ServerHealth cmdlet returns "Unknown" status for known good systems.

$
0
0

Hey folks,

Brand spanking new implementation of Exch 2013, running the Get-ServerHealth & Get-HealthReport cmdlets to retrieve health stats...problem is the command just returns a bunch of "unknowns" as below.

What gives?

Yes, the "Microsoft Exchange Health Manager" service is started and the server is actively hosting Exch services ;)

*************************************************************************************

[PS] C:\WINDOWS\system32>Get-ServerHealth

cmdlet Get-ServerHealth at command pipeline position 1
Supply values for the following parameters:
Identity: localhost

Server          State           Name                 TargetResource       HealthSetName   AlertValue ServerComp
                                                                                                     onent
------          -----           ----                 --------------       -------------   ---------- ----------
localhost       Unknown         Unknown                                   Unknown         Unknown    Unknown

*************************************************************************************

Thanks!!


ByteJunky

Track Incoming Emails from a particular domain

$
0
0
Dear Team,

My Exchange Domain name is appletree.com and my client domain name is denver.com. We used to receive emails from user@denver.com to user@appletree.com and user1@appletree.com etc.

In order to track the incoming emails from that particular domain (denver.com) we want to forward a copy of all the emails from denver.com domain to a dedicated email id  trackuser@appletree.com.

Please let me know how to configure this scenario in Exchange.

Regards,

Jithin.


Timeout to EWS every day

$
0
0

Hi,

I've got an executable retrieving mailbox items of Office 365 account using EWS which receive timeout everyday around 13:00 (GMT time).

We are required to analyse mailbox items every 5 min.

Does anyone have any idea?

Thanks!

Issues with old calendar items after migration from SBS2008R1 to Windows 2012R2+Exchange 2013

$
0
0

Hello,

After migrating a customer from Windows Small Business Server 2008 R1 to Microsoft Windows Server 2012 (DC) and Microsoft Windows Server 2012 & Exchange 2013 there are a few issue regarding the GAL and old migrated calender items that we are unable to resolve:

Old calender items which were Exported to PST when the Server 2008 R1 environment was still live were imported to the new mailbox of the user, located on the Exchange 2013 mail database. This seemed to be working just fine.

The problems arise when a user tries to edit or re-send an old calender item. There actually are 2 problems:

1. When resending an old calender item, OLD GAL entries are used (even when re-entering the contact details) and the emails are send to nobody and you get the mail back from postmaster

2. When updating an old calender item you get an error that you do not have permissions, probably because you are NOT the 'old' Exchange user.

Thanks in advance!

[E2007] [EWS] [C#] Internal Server Error on Item.Update()

$
0
0

I'm using the EWS API in C# with an onsite Exchange 2007 SP1 Server. I'm using the following code to tag a message using a custom property definition. 

//Bind to the message in question, which works fine. 
Item m = Item.Bind(service, new ItemId(itemid));

//Define the extended property definition. 
ExtendedPropertyDefinition def = new ExtendedPropertyDefinition(MyGUID, "my-tag-name" MapiPropertyType.String);

//Set the extended property to our tag which is a string 
m.SetExtendedProperty(def, tag);

//Starting tracing, see XML snippet below. 
service.TraceEnabled = true; 

//Update the message with our new tag.                 
i.Update(ConflictResolutionMode.AlwaysOverwrite);

The issue is the server is throwing "Internal Server Errors' in response as shown in the trace below. Its not a general issue with credentials/autodiscover as I'm able to bind to messages and retrieve information about them without an issue. 

Does anyone have any ideas? 

<Trace Tag="EwsRequestHttpHeaders" Tid="1" Time="2014-03-03 12:52:49Z">
POST /EWS/Exchange.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/15.00.0516.014
Accept-Encoding: gzip,deflate</Trace><Trace Tag="EwsRequest" Tid="1" Time="2014-03-03 12:52:49Z" Version="15.00.0516.
014"><?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="
http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://sc
hemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xml
soap.org/soap/envelope/"><soap:Header><t:RequestServerVersion Version="Exchange2007_SP1" /><t:TimeZoneContext><t:TimeZoneDefinition Id="GMT Standard Time" /></t:TimeZoneContext></soap:Header><soap:Body><m:UpdateItem MessageDisposition="SaveOnly" ConflictResolution="AlwaysOver
write"><m:ItemChanges><t:ItemChange><t:ItemId Id="<<Removed>>=" ChangeKey="<<Removed>>" /><t:Updates><t:SetItemField><t:ExtendedFieldURI PropertySetId="2b3c76fb-2ea6-4644-a9d1-ae5b5
8b4396b" PropertyName="mytag" PropertyType="String" /><t:Message><t:ExtendedProperty><t:ExtendedFieldURI PropertySetId="2b3c76fb-2ea6-4644-a9d1-a
e5b58b4396b" PropertyName="mytag" PropertyType="String" /><t:Value>tagvalue</t:Value></t:ExtendedProperty></t:Message></t:SetItemField></t:Updates></t:ItemChange></m:ItemChanges></m:UpdateItem></soap:Body></soap:Envelope></Trace><Trace Tag="EwsResponseHttpHeaders" Tid="1" Time="2014-03-03 12:52:49Z">
HTTP/1.1 200 OK
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 551
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Date: Mon, 03 Mar 2014 12:52:49 GMT
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET</Trace><Trace Tag="EwsResponse" Tid="1" Time="2014-03-03 12:52:49Z" Version="15.00.0516
.014"><?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs
i="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/
XMLSchema"><soap:Header><t:ServerVersionInfo MajorVersion="8" MinorVersion="1" MajorBuildNumber="4
36" MinorBuildNumber="0" Version="Exchange2007_SP1" xmlns:t="http://schemas.micr
osoft.com/exchange/services/2006/types" /></soap:Header><soap:Body><m:UpdateItemResponse xmlns:t="http://schemas.microsoft.com/exchange/servi
ces/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/mes
sages"><m:ResponseMessages><m:UpdateItemResponseMessage ResponseClass="Error"><m:MessageText>An internal server error occurred. The operation fail
ed.</m:MessageText><m:ResponseCode>ErrorInternalServerError</m:ResponseCode><m:DescriptiveLinkKey>0</m:DescriptiveLinkKey><m:Items /></m:UpdateItemResponseMessage></m:ResponseMessages></m:UpdateItemResponse></soap:Body></soap:Envelope></Trace>


Exchange Online PowerShell: The targetmailbox parameter in cmdlet "new-mailboxsearch" doesn't exist?

$
0
0

I'm using remote powershell into Exchange Online (O365) as a global administrator and I'm attempting to run a New-MailboxSearch like this:

New-MailboxSearch -name "kevin-out" -Description "searching kevin out" -SourceMailboxes "XXX@XXX" -TargetMailbox "XXX@XXX"

But I get this error:

A parameter cannot be found that matches parameter name 'TargetMailbox'.
    + CategoryInfo          : InvalidArgument: (:) [New-MailboxSearch], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,New-MailboxSearch
    + PSComputerName        : pod51038psh.outlook.com

It also appears that the parameter "SearchQuery" is missing too:

New-MailboxSearch -name "kevin-out" -Description "searching kevin out" -SourceMailboxes "XXX@XXX" -SearchQuery "test search"

A parameter cannot be found that matches parameter name 'SearchQuery'.
    + CategoryInfo          : InvalidArgument: (:) [New-MailboxSearch], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,New-MailboxSearch
    + PSComputerName        : pod51038psh.outlook.com

The errors show up despite that the documentation shows the syntax that "TargetMailbox" and "SearchQuery" are valid parameters for New-MailBoxSearch.

SYNTAX
    New-MailboxSearch -Name <String> [-AllPublicFolderSources <$true | $false>] [-AllSourceMailboxes <$true | $false>] [-Confirm 
    [<SwitchParameter>]] [-Description <String>] [-DomainController <Fqdn>] [-EndDate <ExDateTime>] [-EstimateOnly 
    <SwitchParameter>] [-ExcludeDuplicateMessages <$true | $false>] [-Force <SwitchParameter>] [-IncludeKeywordStatistics 
    <SwitchParameter>] [-IncludeUnsearchableItems <SwitchParameter>] [-InPlaceHoldEnabled <$true | $false>] [-InPlaceHoldIdentity 
    <String>] [-ItemHoldPeriod <Unlimited>] [-Language <CultureInfo>] [-LogLevel <Suppress | Basic | Full>] [-MessageTypes 
    <KindKeyword[]>] [-PublicFolderSources <String[]>] [-Recipients <String[]>] [-SearchQuery <String>] [-Senders <String[]>] 
    [-SourceMailboxes <RecipientIdParameter[]>] [-StartDate <ExDateTime>] [-StatusMailRecipients <RecipientIdParameter[]>] 
    [-TargetMailbox <MailboxIdParameter>] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]

What am I doing wrong?

Thanks!

-Kevin

Exchange 2010 Database will not mount SBS 2011


OAuth Authentication to EWS

$
0
0

I'm having trouble getting OAuth credentials to work with EWS in Office 365.  At a high level I'm writing a SharePoint 2013 app and I'm trying to access the user's mailbox data in Exchange.  I did verify my EWS code is 'correct' by swapping out the OAuth code for a hard coded username and password and it worked perfectly.

I get a token back using the code below, however I'm getting a 401 when I try to get the access the user's inbox.  I left it off for brevity, but I am passing the token into a new OAuthCredentials object before accessing the inbox.

            string acsUrl = "https://accounts.accesscontrol.windows.net/";
            using (WebClient exchangeTokenClient = new WebClient())
            {
                exchangeTokenClient.BaseAddress = acsUrl;

                NameValueCollection requestParams = new NameValueCollection();
                requestParams.Add("grant_type", "client_credentials");
                requestParams.Add("client_id", "<clientid>@<realm>");
                requestParams.Add("client_secret", "<client secret>");
                requestParams.Add("resource", "00000002-0000-0ff1-ce00-000000000000/outlook.office365.com@<realm>");
                exchangeTokenClient.Headers.Add("Authorization", "Bearer " + ((SharePointAcsContext)spContext).UserAccessTokenForSPAppWeb);

                byte[] responseBytes = exchangeTokenClient.UploadValues("<realm>/tokens/OAuth/2", "POST", requestParams);

                string response = Encoding.UTF8.GetString(responseBytes);
            }
The more that I think about this, the more I wonder if my 'app' needs rights on the exchange server and if that is what the root cause of the 401 is.

Has anyone actually done this?  I feel like it should be possible, but I can't seem to find a lot of documentation on the process.

Thanks

Joe




           

Decommissioning an Old Exchange Server

$
0
0

I have a bit of an issue here at my work, I have been asked to decommission our 2003 exchange servers as we have finally finished moving the last of our users off of the old exchange servers and on to our 2010 server. Currently they route between each-other and I need to ensure that I remove the old servers without causing any issues with the 2010 servers. What would be the correct way to approach this?    

Thank You

Exchange 2013 Databases shift automatically between DAG members on daily basis

$
0
0

We have installed exchange 2013 since one year now ,our setup is consist of 6 exchange servers hosted on hyper-V 2012 windows server .

Four  servers for Databases and CAS in the primary site and the other two in disaster recovery site "One for mailboxes and one for CAS"  .

We have configured DAG and each exchange mailbox server is holding database copy "either active or passive " .

For high availability ,We have configured six  different databases. Five databases are  part of DAG configuration and one database is used for GFI mail archiving "Stand Alone" ,The five databases which is part of DAG configurations   have two  copies on  exchange DAG members . 

To distribute the load between servers ,We usually segregate the databases between DAG members where each mailbox server in the primary site supposed to have  three databases . 


DB01,DB02,DB03 are hosted on exchange MB01 and DB04,DB05 and GFIMAilarchive  are hosted on exchange MB02 

the third exchange MB03 is acting as passive and holding database copies of DB01......DB05 .

DAG is  not stable because databases keep moving automatically between DAG members ,

Example :

After activating database copies  of  DB01,DB02 and DB03  to be hosted on exchange MB02  .Databases every day after midnight "Around 03:28AM" are moved  automatically  to MB01 or MB03 and Same is happening with MB01 where databases are failed to the first available exchange mailbox server that hold a valid database copy .

I have many errors and warring on the applications logs .The latest error which i found today  on MB02 :-

At '3/4/2014 3:28:12 AM' the Exchange store database 'DB01' copy on this server timed out on periodic status check. For more details about the failure, consult the Event log on the server for other storage and "ExchangeStoreDb" events. The passive database copy will retry to mount as passive.

The even ID is 165 under applications logs

our storage is EMC VN5300 and DB LUNs  is  assigned directly to exchange MB virtual machine .We don't have SAN switch ,Our configuration is back to back where host server is connected direct to the storage through fiber "Qlogic HBA"

Please help as we are suffering since one year 

mailbox migration from one server (country 1) to another server (country 2 ) ( exchange 2007)

$
0
0

Hi,

My exchange servers are hosted with my hosting service provider at London, i have 1000 users and each are having 3 Gig mail box size (exchange 2007) and this exchange server is part of our company network which is extended to hosting service provider. I need to setup new exchange 2007 as part of existing exchange organisation and migrate the users from London to Singapore.

The bandwidth between our company and hosting facility 20 MB.

What is the best method to move the mailboxes from loon service provide to our company ?

I cannot do complete 3 gig mailbox migration from source to destination due to wan bandwidth limitation and time.

I can do only move the mails to local pst then migrate the mailboxes to new server and import the pst mails to exchange mailbox.

Is there any other method available ? backup and restoration ?

Please help me to provide best method for mailbox migration.





Best Way to Recover Damaged Backup File Using Corrupt BKF Repair Tool

$
0
0

This software performs repair operation to retrieve valuable BKF files created by using Veritas software for Windows NTBackup or Backup Exec.

In this system, it locates all the BKF files. In DAT file, it restores scan output to recover it later. It also supports the backup utility of Windows 2003, Xp and 2000.BKF files inaccessible and corrupt.

All these circumstances can be eliminated by BKF File Recovery tool. With this tool, all the damaged or corrupt BKF files can be repaired and all your invaluable data can be restored. Windows BKF file with this software which features the option of ‘Search File’.

You can locate all the BKF Windows files from any subfolder and folder or whole disk volume on your computer.For free trail version demo:

http://www.recoverfilesdata.com/bkf-recovery-software.html

Viewing all 7132 articles
Browse latest View live


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