@CloudRock,Thanks for posting in Q&A.
From your description, I know that you want to manually force the setup of Company Portal exclusively.
To clarify this issue, could you please help to provide some information for us?
1.Waht type of company portal have you deployed?
2.Collect ESP logs.
3.Collect IME log file.
https://azuretothemax.net/2023/04/16/troubleshooting-autopilot-esp-app-failures-error-0x81036502/
Non-official, just for reference.
Thanks for your kind understanding.
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 to enable e-mail notifications if you want to receive the related email notification for this thread.