Published on21 January 2023Use PowerShell to query Dynamics CRM Web APIpowershellaccesstokenMSALDynamicsCRMUsing PowerShell and MSAL to retrieve a valid user impersonation access token and query a Dynamics CRM web API