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

Cannot execute SPNCreation.sp1 #17

@fredgate

Description

@fredgate

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions