So, the script has been updated, and now it supports MS Azure AD and Okta. Also, the information about deactivated SAP Enable Now accounts is being saved to the log file, and one will always see who end when was deactivated by the script.
Setup Steps in Okta
Login to your Okta Portal Administration Interface, navigate to Security - API, and select the Tokens Tab. Then click the Create Token button. The script uses the Core Okta API and retrieves the information only from the Users API. As Okta grants the API Token the same permissions as the administrator has who created this token, then for security reasons it makes a perfect sense to generate this token being logged in with the Administrator account who has lesser permissions than the Super Admin. Please find a link to the official Okta guide about creating API Tokens.
API token in Okta created and active
Save the API Token Secret, as you won't be able to retrieve it again! To connect to the Okta Users API the script needs the Token Secret, and your Okta URL.