Unable to set environment variable in container

Hi Guys, I want to download artifact to azure devops using below command

az artifacts universal download --organization "https://dev.azure.com/LeicaDDT/" --feed "Upload" --name "admin-portal" --version "* " --path "/root"

Im running following image

docker run -it mcr.microsoft.com/azure-cli

I have to set an environment variable using following command so that it uses that token to perform operation

docker exec -it 32f06d10cfe6 bash export AZURE_DEVOPS_EXT_PAT=3wl<redacted>xzq

But I’m getting error

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "export": executable file not found in $PATH: unknown

Can any one please help me