This script is a Splunk implemented command which queries the Active Directory to get members of Distribution Lists. Then put exchangedl.py to $SPLUNK_HOME/etc/apps ...
Works with Splunk Enterprise and Splunk Cloud. $ python splunk_mcp_client.py --interactive Connecting to https://your-splunk-host:8089/services/mcp ... Connected ...