Powershell功能中运行

Powershell功能中运行

本文介绍了AzureAD模块无法在Azure Powershell功能中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我想使用Powershell脚本创建Azure Function.我想在此功能内使用Connect-AzureAD脚本将B2B邀请发送给外部用户.我已经复制了使用Windows powershell提取的AzureAD模块.

I want to create Azure Function with powershell scripting. I want to user Connect-AzureAD script within this function to send B2B invite to external users. I have copied AzureAD module which I have extracted using Windows powershell. 

当我尝试运行此功能时,我遇到了以下汇编错误.

When I am trying to run this Function I am getting below assembly error.

请有人帮忙吗?

推荐答案

  1. https://github.com/Azure/Azure-Functions/issues/124#issuecomment -277848708
  1. https://github.com/Azure/Azure-Functions/issues/124#issuecomment-277848708
  2. https://justingrote.github.io/2017/12/25/Powershell-Azure-Functions-The-Missing-Manual.html


其他注释: Azure Functions中的PowerShell支持仍处于试验模式,不建议用于生产方案.


Additional comments: PowerShell support in Azure Functions is still in experimental mode and is not recommended for production scenarios.


这篇关于AzureAD模块无法在Azure Powershell功能中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 18:51