question

SyuheiMashino-1425 avatar image
0 Votes"
SyuheiMashino-1425 asked SyuheiMashino-1425 commented

AzureAutomationからPowerShellでSharePointListを操作したい

AzureAutomationから以下のようなPowerShellを実行することは可能でしょうか?
また、SampleScriptを提供いただくことは可能でしょうか?

1.SharePointListへアクセス(接続)
2.特定の条件でSharePointListを取得(例えばStatsu = 1)
3.LOOP処理にて、Statusを更新 (例えばStatsu = 2)

office-sharepoint-onlinewindows-server-powershellazure-automation
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

English ver


I want to operate SharePoint List with PowerShell from Azure Automation

Is it possible to run the following PowerShell from Azure Automation?
Is it possible to provide sample script?

  1. Access (connect) to SharePoint List

  2. Get SharePointList under certain conditions (eg Status = 1)

  3. Update Status by LOOP processing (for example, Status = 2)


0 Votes 0 ·

1 Answer

olufemiaMSFT avatar image
0 Votes"
olufemiaMSFT answered SyuheiMashino-1425 commented

Hello @SyuheiMashino-1425 , thanks for your post.
Checkout Part 1 and Part 2 of this tutorial on running SharePoint's MSOnline cmdlets & CSOM DLLs inside Azure Automation.

Hope this helps.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It will be helpful.
Thank you again!!

1 Vote 1 ·