public static Management.Sql.Models.ServicePrincipal UnwrapServicePrincipalObject(ServicePrincipal servicePrincipal)
        {
            if (servicePrincipal == null)
            {
                return(null);
            }

            return(new Management.Sql.Models.ServicePrincipal(
                       servicePrincipal.PrincipalId,
                       servicePrincipal.ClientId,
                       servicePrincipal.TenantId,
                       servicePrincipal.Type));
        }