0

I'm running an App Service from which I would like to run commands from the Azure Active Directory V2 PowerShell module. I haven't found any module to do so and running a module's command result in this, logical, error :

(the example is from the MSOnline V1 PowerShell module for Azure Active Directory)

The specified module 'MSOnline' was not loaded because no valid module file was found in any module directory.

Thank you.

3
  • Any reason your trying to use app service and not azure automation? Commented Apr 13, 2019 at 16:19
  • Hello Sam. Yes in fact this woul be part of a .NET application in order to manage users' accounts. For now we are running such PW commands from an Azure VM. Commented Apr 15, 2019 at 6:40
  • 2
    If your doing this from a .net API then why not just hit the graph API using .net rather than trying to use PS? Commented Apr 19, 2019 at 20:17

1 Answer 1

0

We've figured out that as @Sam Cogan said, we should switch to the grap api.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.