Hi @L-O-L-A-Lola ,
Thank you for posting query in Microsoft Q&A Portal and thank you for sharing requested details.
While, we hit import schema under mappings then ADF actually tries to hit API and get schema of it. But as per your implementation, API hit will get successful only if you run entier pipeline, because you are getting token first and then using that token dynamically inside your copy activity.
So if you would like to avoid this error of import schema, then please try to follow below steps.
Step1: Run web activity alone and get token
Step2: Take that token value and hard code inside copy activity immediately and then try to perform import schema.
This way, while you perform import schema your copy activity holds correct token in it and API call will get success.
Please note, usually tokens may have some expiry time too. So make sure you try above steps within that time frame.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on or upvote 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