Forum Discussion
AbhinavK10
Feb 10, 2022Copper Contributor
microsoftgraph / security-api-solutions for MISP giving access_token error
Hi all,
I am trying to integrate MISP feeds to Sentinel and followed the steps as per the documentation -
I am stuck at the last step where we have to run the script.py in order to push the feeds to sentinel. I am getting the error of access_token
Traceback (most recent call last):
File "script.py", line 100, in <module>
main()
File "script.py", line 93, in main
with RequestManager(total_indicators) as request_manager:
File "/home/srvadmin/mispToSentinel/security-api-solutions/Samples/MISP/RequestManager.py", line 42, in __enter__
access_token = self._get_access_token(
File "/home/srvadmin/mispToSentinel/security-api-solutions/Samples/MISP/RequestManager.py", line 70, in _get_access_token
access_token = requests.post(
KeyError: 'access_token'
I am unable to identify where the script is failing and how to rectify it.
1 Reply
Sort By
- mlarkin
Microsoft
This has to do with your variables... i.e... tenant id, etc. I would recheck those.