Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 480.7k

Either this secret is disabled or you do not have the "Get"

Aug 27 2019 7:48 AM
Hi Team
 
I have a code to access the secret key, but i dont know if this error persist because of my trial subscription. Do i need to upgrade my subscription to decrypt my secret vault.? Guidance will be highly appreciated.
 
 
Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException
HResult=0x80131500
Message=AADSTS700016: Application with identifier '14ce8c47-0095-4e1c-a91e-ad0feb908f8d' was not found in the directory 'dc7b8b40-0263-4962-8e68-0a60adb15460'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.
Trace ID: 5c74a164-a6fe-4ec3-86f4-bfbdc8a82000
Correlation ID: d6ee56ae-5abc-4982-9e23-847a8571a717
Timestamp: 2019-08-27 12:46:41Z
Source=Microsoft.IdentityModel.Clients.ActiveDirectory
StackTrace:
at Microsoft.Identity.Core.OAuth2.OAuthClient.d__18`1.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 116
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.Identity.Core.OAuth2.OAuthClient.d__17`1.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 46
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__75.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 405
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__72.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 333
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__62.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 266
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__60.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 200
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__37.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 508
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__64.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 1014
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 375
at AzureKeyVault.SimpleEncryptDecrypt.KeyVaultBase.d__7.MoveNext() in C:\Users\eNtsaSoftDev-L\Downloads\AzureKeyVault-master\AzureKeyVault-master\SimpleEncryptDecrypt\KeyVaultBase.cs:line 55
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.Azure.KeyVault.KeyVaultCredential.d__11.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.Azure.KeyVault.KeyVaultCredential.d__13.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.Azure.KeyVault.KeyVaultClient.d__43.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at Microsoft.Azure.KeyVault.KeyVaultClientExtensions.d__27.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 375
at AzureKeyVault.SimpleEncryptDecrypt.KeyVault.d__2.MoveNext() in C:\Users\eNtsaSoftDev-L\Downloads\AzureKeyVault-master\AzureKeyVault-master\SimpleEncryptDecrypt\KeyVault.cs:line 34
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 375
at AzureKeyVault.SimpleEncryptDecrypt.Program.d__1.MoveNext() in C:\Users\eNtsaSoftDev-L\Downloads\AzureKeyVault-master\AzureKeyVault-master\SimpleEncryptDecrypt\Program.cs:line 20
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\ExceptionServices\ExceptionDispatchInfo.cs:line 132
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 193
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 154
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() in E:\A\_work\525\s\src\mscorlib\src\System\Runtime\CompilerServices\TaskAwaiter.cs:line 109
at AzureKeyVault.SimpleEncryptDecrypt.Program.Main(String[] args) in C:\Users\eNtsaSoftDev-L\Downloads\AzureKeyVault-master\AzureKeyVault-master\SimpleEncryptDecrypt\Program.cs:line 11
Inner Exception 1:
AdalServiceException: Response status code does not indicate success: 400 (BadRequest).
 
 
 

Answers (4)