Question
How to Nifi RestApi with Azure AD authentication
Hello Everyone,
I have successfully configured NiFi with Azure AD authentication by following https://github.com/benkelly/NiFi-Authentication-with-Azure-Active-Directory-Setup-Guide. NiFi is working as expected.
However, I am facing an issue when trying to use the REST API. When I attempt to obtain a token using the /nifi-api/access/token endpoint with an AD user’s credentials, I receive the following error:
I have successfully configured NiFi with Azure AD authentication by following https://github.com/benkelly/NiFi-Authentication-with-Azure-Active-Directory-Setup-Guide. NiFi is working as expected.
However, I am facing an issue when trying to use the REST API. When I attempt to obtain a token using the /nifi-api/access/token endpoint with an AD user’s credentials, I receive the following error:
"Username/Password login not supported by this NiFi."
I need guidance on how to properly authenticate and use the REST API with my current Azure AD setup.
Additionally, if creating a separate file-based user is required for REST API access, what changes should I make to the current configuration to support both AD authentication and a file-based user for API access?
I am new to NiFi, so I would appreciate detailed guidance on resolving this issue.
Thanks in advance!
Additionally, if creating a separate file-based user is required for REST API access, what changes should I make to the current configuration to support both AD authentication and a file-based user for API access?
I am new to NiFi, so I would appreciate detailed guidance on resolving this issue.
Thanks in advance!

