Call secure azure hosted API from SharePoint online

The goal of this post is to provide steps to call the azure hosted API from SharePoint online using JavaScript and the ADAL.js library, no signing-prompt, everything should be handled in the script using ADAL.js to authenticate secure API Configuration Azure API  Create azure API , You can read aboutAzure API apps here and follow a…


Azure subscription in Azure Resource manager

If you used to use Azure in classic mode you might get confused about powershell commands in azure resource manager in order to be select your azure subscription  follow these commands PS C:\> Get-AzureRmSubscription –SubscriptionName “your subscription” | Select-AzureRmSubscription normally remember most of classic model commands will follow with rm and end of the verbs….


workflow failed with Unauthorized error

 when workflow failed ro start with this error : Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP Unauthorized to http://sitename/_vti_bin/client.svc/web/lists/getbyid(guid’guid’) Correlation Id: id Instance Id: id  uls : 01/12/2015 19:21:04.06 w3wp.exe (NLAMSPSHWF001:0x2B80) 0x2778 SharePoint Foundation Claims Authentication ae0tc High The registered mappered failed to resolve to one…


Get-spfarmconfig has misleading value

You may notice if you run Get-spfarmconfig you will receive  following output     you can change the value of WorkflowBatchSize via set-spfarmconfig  And then if you try to run the equivalent command in stsadm (stsadm -o getproperty -pn workflow-eventdelivery-batchsize) you will notice there is no actual change in WorkflowBatchSize by “set-spfarmconfig” This is a known…


SharePoint 2013 workflow troublehsooting

If you are using workflow manger in sharepoint 2013 you might face different issues  which you are not sure either the issue is comming form workflow manger or sharepoint , by following troubleshooting check list you might find at least the area you need to focus more   check list in workflow manager server  :1. Check…