title: IoT Edge : device can't download my module from Azure Container Registry but it can from dockerhub
body: <p>I followed <a href="https://docs.microsoft.com/fr-fr/azure/iot-edge/tutorial-python-module" rel="nofollow noreferrer">this azure example</a> to develop my module <strong>connectedbarmodule</strong> in python for Azure IoT Edge. Then , I followed <a href="https://docs.microsoft.com/fr-fr/azure/iot-edge/quickstart-linux" rel="nofollow noreferrer">this link</a> to deploy my module in my device (raspberry pi 3). However, my module can't be downloaded. Then, I executed the following command on my device :</p>
  
  <pre><code>sudo docker logs -f edgeAgent
  </code></pre>
  
  <p>I have the following error:</p>
  
  <pre><code>Error calling Create module ConnectedBarModule:
  Get https://iotedgeregistery.azurecr.io/v2/connectedbarmodule/manifests/0.0.1-amd64:
  unauthorized: authentication required) 
  </code></pre>
  
  <p>This is an url regarding my Azure Container Registry where the image of my module is stored. I don't know how to get the credentials for iotedge to download my module.</p>
  
  <p>I tested the case to pu the image not in the Azure Container Registry but in my dockerhub account and it works, my device can download the module.</p>
  
  <p>If someone has an idea, this would be very kind.</p>
  
  <p>Thank you in advance.</p>