Thanks a lot for the detailed blog.  
 
When I try to use the same I am getting an error
 
AADSTS50079: Due to a configuration change made by your administrator, or because you moved to a new location, you must enroll in multi-factor authentication to access '00000007-0000-0000-c000-000000000000'.
Trace ID: e0b58068-b21b-4977-9cef-f078e6d31f00
Correlation ID: c012f1c1-98b3-40e3-a990-f88ef48a228e
Timestamp: 2023-09-25 04:09:03Z => Response status code does not indicate success: 400 (BadRequest). => {"error":"interaction_required","error_description":"AADSTS50079: Due to a configuration change made by your administrator, or because you moved to a new location, you must enroll in multi-factor authentication to access '00000007-0000-0000-c000-000000000000'.\r\nTrace ID: e0b58068-b21b-4977-9cef-f078e6d31f00\r\nCorrelation ID: c012f1c1-98b3-40e3-a990-f88ef48a228e\r\nTimestamp: 2023-09-25 04:09:03Z","error_codes":[50079],"timestamp":"2023-09-25 04:09:03Z","trace_id":"e0b58068-b21b-4977-9cef-f078e6d31f00","correlation_id":"c012f1c1-98b3-40e3-a990-f88ef48a228e","error_uri":"https://login.microsoftonline.com/error?code=50079","suberror":"basic_action"}: Unknown errorUnable to Login to Dynamics CRM
Unable to Login to Dynamics CRMOrganizationWebProxyClient is null
OrganizationWebProxyClient is null

 
Though removed all the MFA, still getting this error.  Appreciate any help on this.