Delegated and application permissions in the Microsoft Identity Platform