title: python script for azure activity log
body: <pre><code>from azure.monitor import MonitorClient
  #from azure.mgmt.monitor import MonitorMgmtClient
  from azure.mgmt.monitor import MonitorManagementClient
  from azure.common.credentials import UserPassCredentials
  import datetime
  
  # Replace this with your subscription id
  subscription_id = '************'
  
  # See above for details on creating different types of AAD credentials
  credentials = UserPassCredentials(
  '****',  # Your user
  '****',      # Your password
  )
  
  client = MonitorClient(
    credentials,
    subscription_id
   )
  
  monitor_mgmt_client = MonitorManagementClient(
    credentials,
    subscription_id
  )
  </code></pre>
  
  <p>after running this code its giving error:
  raise error
  msrest.exceptions.AuthenticationError: , InvalidClientIdError: (invalid_request) AADSTS900144: The request body must contain the following parameter: 'client_id'</p>