I am getting exception when trying to set reply url in service prinicipal. its throwing exception.
"Unable to complete this action. Try again later"
List cmdlist = new List (); cmdlist.Add("$sp = Get-MsolServicePrincipal -AppPrincipalId \"" + AppPrincipalId + "\""); cmdlist.Add("$replyHost = \"" + strReplyURL + "\""); cmdlist.Add("$replyUrl = New-MsolServicePrincipalAddresses –Address $replyHost"); cmdlist.Add("Set-MsolServicePrincipal -ObjectId $sp.objectid -Addresses $replyUrl"); //getting exception here
Replies
Know the answer? Post it — somebody with the same question will find it here.