Skip to content

Commit 0350fe4

Browse files
authored
Add FAQ about MFA
1 parent 59ce396 commit 0350fe4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs-conceptual/azps-14.1.0/faq.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,32 @@ sections:
8787
```
8888
8989
**Note:** Handle plain text carefully, as it is less secure than a SecureString.
90+
91+
- question: |
92+
How to mitigate the error "SharedTokenCacheCredential authentication unavailable"?
93+
answer: |
94+
If you are getting this error when using an Azure PowerShell cmdlet that creates or
95+
makes change to Azure resources, it is likely that you are blocked by the Entra ID
96+
Conditional Access policy.
97+
98+
The complete error message is as follows:
99+
100+
```
101+
SharedTokenCacheCredential authentication unavailable. Token acquisition failed for user
102+
[email protected]. Ensure that you have authenticated with a developer tool that supports
103+
Azure single sign on.
104+
```
105+
106+
To resolve this issue, please update to version 14.X.Y or later of the Azure PowerShell module,
107+
or equivalently, version 5.X.Y of the Az.Accounts module.
108+
With these versions, the Azure PowerShell cmdlets will be able to display detailed error messages
109+
regarding which policy is blocking the authentication, and how to resolve the issue.
110+
111+
For example, if the admin has configured the policy to require multi-factor authentication (MFA),
112+
you will see an error message similar to the following:
113+
114+
```powershell
115+
{Placeholder for error message}
116+
```
117+
118+
Follow the instructions in the error message to sign in through multi-factor authentication (MFA).

0 commit comments

Comments
 (0)