spo tenant recyclebinitem restore [options]
Restores a deleted Site Collection from Site Collection Recycle Bin.
Option|Description
------|-----------
-u, --url <url>|URL of the Site Collection to restore
--wait|Wait for the Site Collection to be restored before completing the command
this command will perform the same action as both the Restore-SPODeletedSite and the Restore-PnPTenantRecycleBinItem cmdlets.
Very nice suggestion @michaelmaillot. Would you like to give it a try and build this command?
Yes, with pleasure! 😁
Thx
Le mar. 18 févr. 2020 à 19:37, Waldek Mastykarz notifications@github.com
a écrit :
Very nice suggestion @michaelmaillot https://github.com/michaelmaillot.
Would you like to give it a try and build this command?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pnp/office365-cli/issues/1362?email_source=notifications&email_token=AKRYOYTEBK5G5WOZWM7LTYLRDQTGXA5CNFSM4KXBIPV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMDIPRA#issuecomment-587630532,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRYOYVN25P64FJMZDSTP23RDQTGXANCNFSM4KXBIPVQ
.
All yours @michaelmaillot 👏
Great, can you assign it to me ? Thank you.
As I started to work on it, I wanted to use the REST API method which is available and works. But I faced a question about the "retry" process. So I've posted my question here.
Or course, if anyone have an answer, feel free to share it in the mentioned post 🙂.
In the meantime, maybe I should test if the IsComplete property returns false (or the HasTimedout property returns true) and retry the same command with limited attempts.
Typically, we add everyone as contributor to the project after their first PR. So while the issue isn't assigned to you on GitHub, it's all yours and it's set as in progress so no one else will be working on it 👍