Please change $rooms in the script to $rooms.rooms. $rooms is an object and cannot be used directly as a parameter.
Please try:
$RoomList = import-csv C:\temp\input.csv
ForEach ($Rooms in $RoomList)
{ Set-CalendarProcessing -Identity $rooms.rooms -AutomateProcessing AutoAccept -AllBookInPolicy $True -BookInPolicy $null -AddAdditionalResponse $False -AdditionalResponse $Null }
Best Regards,
Dezhi
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation](https://aka.ms/msftqanotifications)"https://aka.ms/msftqanotifications)") to enable e-mail notifications if you want to receive the related email notification for this thread.