Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Cannot execute SPNCreation.sp1 #17

Open
fredgate opened this issue Jan 5, 2018 · 0 comments
Open

Cannot execute SPNCreation.sp1 #17

fredgate opened this issue Jan 5, 2018 · 0 comments

Comments

@fredgate
Copy link

fredgate commented Jan 5, 2018

On azure portal, I have uploaded the SPNCreation.ps1 file to my shell storage account and then executed a Cloud Shell in Powershell mode.
I change directory to C:\users\ContainerAdministrator\CloudDrive and then ran the powershell file that I previously uploaded :
PS C:\users\ContainerAdministrator\CloudDrive> .\SPNCreation.ps1

After entering subscription name and SPN password, the script terminate with a error :

Provide your credentials to access Azure subscription Visual Studio Enterprise
Login-AzureRmAccount : The type initializer for 'Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.WindowsFormsWebAuthenticationDialogBase' threw an exception.: Unable to load DLL 'IEFRAME.dll': The
specified module could not be found. (Exception from HRESULT: 0x8007007E)

So I do not know how to use this script ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant