this link has resolved my issue. I have replaced with the below
parameterValues: { 'token:clientId': ClientId 'token:clientSecret': ClientSecret 'token:TenantId': subscription().tenantId 'token:grantType': client_credentials }