When i execute following command
Clear-AzureProfile Connect-AzAccount -TenantID xxxxxxxxxxxxxxxxxxx Set-AzContext -SubscriptionId xxxxxxxxxxxxxxxxxxx
Close your powershell and open a new one, or use Clear-AzContext, not Clear-AzureProfile. Then use Connect-AzAccount -Tenant xxxxx -Subscription xxxxx, it should work.
Clear-AzContext
Clear-AzureProfile
Connect-AzAccount -Tenant xxxxx -Subscription xxxxx