Our company is developing a system that is based on Azure components and a client desktop application that connects to Azure. The Azure components are being deployed automatical
The question has been answered above by @Saca and @Nan Yu. It can be closed now. The solution based on creating OAuth2PermissionGrant and AppRoleAssignment objects for the ServicePrincipal of an application being created is the right way to solve the problem, I have managed to solve the problem this way.