Thank you for reaching out to Microsoft Q&A forum
The retirement of the IDCRL (Identity Client Runtime Library) authentication protocol in Microsoft SharePoint primarily targets legacy authentication methods used in older clients, scripts, or applications, such as certain outdated versions of SharePoint Designer or PowerShell modules that rely explicitly on IDCRL for token acquisition. This change enforces modern standards like OpenID Connect for interactive logins and OAuth for delegated or application-based access, aiming to enhance security and compliance.
Link reference:
https://app.cloudscout.one/evergreen-item/mc1184649/
Note: Microsoft is providing this information as a convenience to you. These sites are not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the above link.
However, your implementation already aligns with these modern protocols by using Azure AD-based credentials to obtain OAuth 2.0 access tokens, which are compliant with the updated requirements. As a result, your code should not be affected and will continue to function without needing modifications specifically related to this retirement.
Hope my answer will help you, for any further concern, kindly let me know in the comment section.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.