[ADF Deployments ] Client IP not authorized to access the API. Please ensure you are on corpnet, or that your IP is on an allowlist for the activities in your pipeline.

Dru 16 Reputation points Microsoft Employee
2022-12-20T19:01:52.357+00:00

Status: Failed
Error:
Code: ClientIPNotAuthorized
Message: Client IP not authorized to access the API. Please ensure you are on corpnet, or that your IP is on an allowlist for the activities in your pipeline.

How can I resolve this issue?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,644 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2022-12-21T19:55:49.237+00:00

    Hello @Anonymous ,

    Welcome to the MS Q&A platform.

    It seems like you are using the scope activity. Scope is an Microsoft internal facing activity and due to security requirements, it can only be run from within Microsoft IP addresses. To use Scope Activity, user will have to add a GlobalParameter to their factory { “name” : “ADFScopeSupport”, “value” : “true” }. After this global parameter is added, all calls to their factory must originate from Microsoft IP addresses (GET calls are still allowed), if not they will fail with the error “Client IP not authorized to access the API. ClientIPNotAuthorized”.

    Please let me know if you have any further questions.

    ------------------------------

    • Please don't forget to click on 130616-image.png and upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    3 people found this answer helpful.

  2. Deepthi Rajashekar 0 Reputation points Microsoft Employee
    2024-04-08T16:30:35.7266667+00:00

    Understand all the calls to be originated via Microsoft IP addresses. Though the factory is added I still see the error when I try to run the pipeline. Is there a way to ensure the access via VPN access?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.