Microsoft Azure For Macos

  



Azure AD Team (Admin, Microsoft Azure) responded Jun 28, 2017 Thanks for your feedback. Azure AD Join is unique to Windows 10 as it uses Windows components to generate/store the artifacts used for subsequent logins and enable SSO to other resources. AADJ on Mac OS or any non-Windows OS is not a possibility currently. I have been trying the linux install instructions on macOS. It seems that most steps in CMake work, but the DepthEngine is Windows/Nix only. Would be amazing if you could release the DepthEngine for macOS. The rest should be achievable by the community / via Pull Request etc. A huge number of our community ( openFrameworks ) would make good use of macOS support.

-->

Azure Files is Microsoft's easy-to-use cloud file system. Azure file shares can be mounted with the industry standard SMB 3 protocol by macOS High Sierra 10.13+. This article shows two different ways to mount an Azure file share on macOS: with the Finder UI and using the Terminal.

Prerequisites for mounting an Azure file share on macOS

  • Storage account name: To mount an Azure file share, you will need the name of the storage account.

  • Storage account key: To mount an Azure file share, you will need the primary (or secondary) storage key. SAS keys are not currently supported for mounting.

  • Ensure port 445 is open: SMB communicates over TCP port 445. On your client machine (the Mac), check to make sure your firewall is not blocking TCP port 445.

Mount an Azure file share via Finder

  1. Open Finder: Finder is open on macOS by default, but you can ensure it is the currently selected application by clicking the 'macOS face icon' on the dock:

  2. Select 'Connect to Server' from the 'Go' Menu: Using the UNC path from the prerequisites, convert the beginning double backslash () to smb:// and all other backslashes () to forwards slashes (/). Your link should look like the following:

  3. Use the storage account name and storage account key when prompted for a username and password: When you click 'Connect' on the 'Connect to Server' dialog, you will be prompted for the username and password (This will be autopopulated with your macOS username). You have the option of placing the storage account name/storage account key in your macOS Keychain.

  4. Use the Azure file share as desired: After substituting the share name and storage account key in for the username and password, the share will be mounted. You may use this as you would normally use a local folder/file share, including dragging and dropping files into the file share:

Mount an Azure file share via Terminal

  1. Replace <storage-account-name>, <storage-account-key>, and <share-name> with the appropriate values for your environment.

  2. Use the Azure file share as desired: The Azure file share will be mounted at the mount point specified by the previous command.

Next steps

Microsoft azure for macos 7-->

For the macOS platform, you can install the Azure CLI with homebrew package manager. Homebrew makes it easy to keep yourinstallation of the CLI update to date. The CLI package has been tested on macOS versions 10.9 and later.

The current version of the Azure CLI is 2.18.0. For information about the latest release, see the release notes. To find your installed version and see if you need to update, run az version.

Install with Homebrew

Homebrew is the easiest way to manage your CLI install. It provides convenient ways to install, update, and uninstall.If you don't have homebrew available on your system, install homebrew before continuing.

You can install the CLI by updating your brew repository information, and then running the install command:

Important

The Azure CLI has a dependency on the Homebrew python3 package, and will install it.The Azure CLI is guaranteed to be compatible with the latest version of python3published on Homebrew.

You can then run the Azure CLI with the az command. To sign in, use az login command.

Microsoft Azure For Macos Catalina

  1. Run the login command.

    If the CLI can open your default browser, it will do so and load an Azure sign-in page.

    Otherwise, open a browser page at https://aka.ms/devicelogin and enter theauthorization code displayed in your terminal.

    If no web browser is available or the web browser fails to open, use device code flow with az login --use-device-code.

  2. Sign in with your account credentials in the browser.

Microsoft Azure For Mac

To learn more about different authentication methods, see Sign in with Azure CLI.

Troubleshooting

If you encounter a problem when installing the CLI through Homebrew, here are some common errors. If you experience a problem not covered here, file an issue on github.

Completion is not working

The Homebrew formula of Azure CLI installs a completion file named az in the Homebrew-managed completions directory (default location is /usr/local/etc/bash_completion.d/). To enable completion, please follow Homebrew's instructions here.

Unable to find Python or installed packages

There may be a minor version mismatch or other issue during homebrew installation. The CLI doesn't use a Python virtual environment, so it relies on findingthe installed Python version. A possible fix is to install and relink the python3 dependency from Homebrew.

CLI version 1.x is installed

If an out-of-date version was installed, it could be because of a stale homebrew cache. Follow the update instructions.

Proxy blocks connection

You may be unable to get resources from Homebrew unless you have correctly configured it touse your proxy. Follow the Homebrew proxy configuration instructions.

Important

If you are behind a proxy, HTTP_PROXY and HTTPS_PROXY must be set to connect to Azure services with the CLI.If you are not using basic auth, it's recommended to export these variables in your .bashrc file.Always follow your business' security policies and the requirements of your system administrator.

In order to get the bottle resources from Homebrew, your proxy needs to allow HTTPS connections tothe following addresses:

  • https://formulae.brew.sh
  • https://homebrew.bintray.com

Update

The CLI is regularly updated with bug fixes, improvements, new features, and preview functionality. A new release is available roughly everythree weeks.

The CLI provides an in-tool command to update to the latest version:

Note

The az upgrade command was added in version 2.11.0 and will not work with versions prior to 2.11.0.

This command will also update all installed extensions by default. For more az upgrade options, please refer to the command reference page.

You can also update your local Homebrew repository information and then upgrade the azure-cli package.

Uninstall

If you decide to uninstall the Azure CLI, we're sorry to see you go. Before you uninstall, use the az feedback command to let us knowwhat could be improved or fixed. Our goal is to make the Azure CLI bug-free and user-friendly. If you found a bug, we'd appreciate it if you file a GitHub issue.

Use homebrew to uninstall the azure-cli package.

Microsoft Azure For Macos Free

Other installation methods

Microsoft Azure For Macos 7

If you can't use homebrew to install the Azure CLI in your environment, it's possible to use the manual instructions for Linux. Note thatthis process is not officially maintained to be compatible with macOS. Using a package manager such as Homebrew is always recommended. Only use the manualinstallation method if you have no other option available.

For the manual installation instructions, see Install Azure CLI on Linux manually.

Next Steps

Now that you've installed the Azure CLI, take a short tour of its features and common commands.