Showing posts with label PowerAutomate. Show all posts
Showing posts with label PowerAutomate. Show all posts

Wednesday, December 9, 2020

Could not authenticate to SharePoint Online using OAuth 2.0

SharePoint Online using OAuth In this article ,

Could not authenticate to SharePoint Online using OAuth 2.0

 $username = "test@am.onmicrosoft.com"

$password = "******"


$cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)


Connect-SPOService -Url https://finders-admin.sharepoint.com -Credential $cred 

Saturday, December 5, 2020

Difference between the workflows and power Automate/Power Apps?


Difference between the workflows and power Automate/Power Apps


Workflow

  • SP 2010 workflows executed runtime
  • SP 2013 workflows runs workflow manger independently 
  • It runs endlessly
  • RestAPI calls are support
  • History maintains in workflow history list
  • impersonation step to act as a different user
  • Workflow types: List workflow, site workflow and reusable workflow

Power Automate:

  • It runs for 30 days only
  • “service account” user with a Power Automate license and run these flows with that user account
  • History maintains in power automate dashboard
  • impersonation step is not available
  • Types: Single approval , sequential approval and parallel approvals