Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.
I went through the instructions and checked with internal team on this. There is issue with the documented instructions here. I have shared the Feedback on the document being pointing to old instructions (so it gave error when you followed the document) to update the document. Team is working on fixing this error in the document.
For now requesting to use the azure portal to create a host pool and assign users.
Instructions on how to configure the profile container can be found here.
This article describes the configuration of Azure Files with Azure AD DS.
Hope this helps.
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.