Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Community Support Team _ Rena If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
According to the error message, it seems that service principal didn't have the proper permission. Did you add that service principal as the member/admin of the corresponding workspace just as describe in this official documentation?
In addition, please check the following threads which have the similar problem as yours. Hope that the solution can also help you solve the problem.