The Power of Customer Self-service portal in Microsoft Dynamics AX 2012

Sandeep Chaudhury's avatarMicrosoft Dynamics 365 Blog

Hi Readers,

I could not spend time on my blog since last few weeks due to my extended vacation. I know i owe answers/responses to a few of you. I will start doing it from today again. Sorry about this.

In today’s post we will take a look at all the important capabilities of the customer self-service portal.

The customer self-service portal, which is an out of box feature of Microsoft Dynamics AX 2012 adds to the list of several other simple yet powerful list of features.

This enables your customers to work with you in more efficient way without having the need to several manual interventions. Rather than having customers calling you and asking questions about their orders, placing new orders, asking about invoices, inquiring about products, you can just give then a log in for the customer self-service website and can do all of the above stuffs on…

View original post 341 more words

Apply Exchange 2013 CU with error “Couldn’t resolve the user or group “/Microsoft Exchange Security Groups/Discovery Management.” “

When apply exchange 2013 cumulative update ,we may meet following error

Couldn’t resolve the user or group “/Microsoft Exchange Security Groups/Discovery Management.” If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust.”.

The error can be bypassed by disable discovery search mailbox

Get-Mailbox -Filter {RecipientTypeDetails -eq “DiscoveryMailbox”} | Disable-Mailbox

Microsoft Dynamics CRM Spring ’14 Overview of Unified Service Desk

Miki's avatarMicrosoft Dynamics CRM 2016

Bring multiple apps together inside the new Unified Service Desk in Microsoft Dynamics CRM. In this video, Matthew Barbour gives you a heads-up on this agent desktop designed around multi-channel interaction management and control that comes with the Spring ’14 update. Features include agent scripting, the ability to manage concurrent sessions, and configurable toolbars.

View original post

Calling the SharePoint 2013 Rest API from a SharePoint Designer Workflow

sergeluca's avatarSerge Luca aka "Doctor Flow" (Microsoft Power Platform/Business Applications MVP)

At the moment you will find many examples illustrating how to call external JSon web services from SharePoint Designer 2013 workflows by using the Call activity, but we should keep in mind that the Call action works very well with the SharePoint REST api and this opens the door to plenty of possibilities. However you won’t find many examples illustrating this. Sooo let’s go ; –)

  • Create an announcements list and let’s say we want to create a workflow that returns the first one by using the REST api.
  • Add a few announcement
  • Start SharePoint Designer 2013 and add a list workflow on this announcement list; make sure the workflow is a SharePoint 2013 workflow

image

  • Test your REST call in the browser, for instance mine is the following :

http://litware/_api/web/Lists/GetbyTitle(‘announcements’)/items

You should get something like this:

image

You will notice that the response is encoded in xml format; since the $json…

View original post 308 more words

Miss .net framework 3.5 SP1 error when install something on windows 8.1 x64

You may meet “Missing .net framework 3.5 Sp1” error when install some application,like Dynamics AX 2012 R3, on windows 8.1 x64.

There is a good tool posted on MSDN blog  – netfx_setupverifier ,which can detect .net version when detail logs. 

It report as failed, for .net framework 3.5 SP1, although everything about .net framework 3.5 has been installed from control pannel /program/add new features.

By analysis the log, it seems .net 3.5 Sp1 registry key for wow6432node is missing on windows 8.1 x64.

Import following registry, everything start working!

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v3.5]
“Version”=”3.5.30729.4926”
“CBS”=dword:00000001
“Install”=dword:00000001
“InstallPath”=”C:\\Windows\\Microsoft.NET\\Framework64\\v3.5\\”
“SP”=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v3.5\2052]
“Version”=”3.5.30729.5003”
“CBS”=dword:00000001
“Install”=dword:00000001
“SP”=dword:00000001

 

 

 

Quick purge mail user box in Exchange

With continue operation of exchange in large enterprise,  user mailbox and exchange database will keep growing.

Exchange has provide significant mechanism to deal with, include archive(by online/by outlook), online database maintenance, mailbox database defragment and compact.

However, the mailbox database still will keep growing. It is also some kind of danger to  operate mailbox mdb file directly using eseutil, and require long offline time.

On the other hand, there are many limitation that keep storage from un-limited growing. For example, Hyper-V virtual disk (VHD) has 2T maximum size.

To prevent the continue storage growth requirement and keep server in best performance, we keep all enterprise mailbox users to export and purge their mailbox and start with clean mailbox in a fixed period, saying ,every year, by following script.

ExportUser.PS1

$users = Import-Csv c:\export\UserToExport.CSV

$Root = “\\publicstorage.mydomain.com\fileshare\MailboxArchive\”
$Date = Get-Date -format yyMMdd

$BatchName = “Export”+$Date

foreach ($item in $users)
{
$User = $item
$ArchiveFilePath = $Root+$User+”\Archive”+$Date+”.pst”
$MailboxFilePath = $Root+$User+”\Mailbox”+$Date+”.pst”

New-Item -Path $Root -name “$User” -ItemType “directory” -force

New-MailboxExportRequest -MailBox $User -FilePath “$ArchiveFilePath” -BatchName $BatchName -DomainController                         dcserver.mydomain.com -ExcludeDumpster:$true -IsArchive:$true

New-MailboxExportRequest -MailBox $User -FilePath “$MailboxFilePath” -BatchName $BatchName -DomainController                        dcserver.mydomain.com -ExcludeDumpster:$true -IsArchive:$false
}

After export ,we will create a new mailbox database,set all mailbox to the new db and notify user.

$newdb=’corp2014′

$mailboxExports = Get-MailboxExportRequest |Where {$_.Status -eq “Completed”} | Get-MailboxExportRequestStatistics

# Define and create the message
$strTo = “”
$strFrom = “notification@mydomain.com”
$strSubject = “Mailbox Purge Notification”
$strBodyFront = “Your mailbox has been archived and purged.  All of previous mail is stored under”
$strBodyEnd=”,you can find them back by add then under  file–> account settings –> data file on outlook.”
$strCc=”it@mydomain.com”

# Define the SMTP server
$strSMTPServer = “smtp.mydomain.com”

$objSMTP = New-Object System.Net.Mail.SMTPClient –ArgumentList $strSMTPServer

$objSMTP.Credentials =New-Object System.Net.NetworkCredential(……..)

ForEach ($export in $mailboxExports)
{
$file = $export.FilePath
$user = $export.SourceAlias
$acl = Get-Acl “$file”
$userAccount = new-object System.Security.Principal.NTAccount(“mydomain.com”, $user)
$acl.SetOwner($userAccount)
#$accessRule = $acl.GetAccessRules($true,$true,[System.Security.Principal.NTAccount])

$newAccessRule = New-Object -Type System.Security.AccessControl.FileSystemAccessRule -ArgumentList                                    $userAccount,FullControl,Allow

#$accessRule.Add($newAccessRule)

$acl.AddAccessRule($newAccessRule)

Set-Acl “$file” $acl

Write-Host $file

Disable-Mailbox $user -Confirm:$false
Enable-Mailbox $user -Database $newdb -Confirm:$false
# Define and create the message

$strBody = $strBodyFront + $file + $strBodyEnd
$strTo = ($user+”@mydomain.com”)

$objMessage = New-Object System.Net.Mail.MailMessage –ArgumentList $strFrom,$strTo , $strSubject, $strBody

$objMessage.CC.Add(“it@mydomain.com”)

# Send the message
$objSMTP.Send($objMessage)
}

Remove-MailboxExportRequest $export.Identity -Confirm:$false
}