Azure / Azure/Azure-Functions

Unable to Connect Azure AD via Azure Function

Open
#1,330 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

I am trying to connect Azure AD using the following command via Azure Function(PowerShell) but getting the highlighted error:

The AzureAD module is uploaded in the Azure Web App as explained in this(https://msazure.club/connect-to-azure-ad-from-azure-function-with-powershell-script/) article

**_Command_**
Connect-AzureAD -Credential $Credential

**_Error_**
"**The current processor architecture is: X86. The module 'D:\home\site\wwwroot\HttpTrigger1\Modules\AzureAD\2.0.2.50\AzureAD.psd1' requires the following architecture: Amd64.**"

Thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.