content-manager-sdk / Community

Content Manager SDK Samples
http://hprm.info
The Unlicense
50 stars 37 forks source link

az_install.ps1 issues #25

Open catmanjan opened 2 years ago

catmanjan commented 2 years ago

We are having trouble running the powershell install script for teams

It seems that these parameters don't exist in the Azure CLI any more:

   $appDetails = az ad app create **--oauth2-allow-implicit-flow** true --display-name "$appName" `
        --identifier-uris "api://$myDomain/$newGuid"`
        --required-resource-accesses "$curDir/resman.json"`
        **--reply-urls** @MyArray --only-show-errors
dchurchland commented 2 years ago

For the moment go back to using the previous version of the Azure CLI. there ara numerous breaking changes in the latest release which it will take us a while to work around.

On Thu, 16 Jun 2022 at 15:50, Jan Martin @.***> wrote:

We are having trouble running the powershell install script for teams

It seems that these parameters don't exist in the Azure CLI any more:

$appDetails = az ad app create --oauth2-allow-implicit-flow true --display-name "$appName" --identifier-uris "api://$myDomain/$newGuid" --required-resource-accesses "$curDir/resman.json"` --reply-urls @MyArray --only-show-errors

— Reply to this email directly, view it on GitHub https://github.com/content-manager-sdk/Community/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG7YHX4VYATP3AXNFUZVH3VPK6CLANCNFSM5Y5SZNRA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

catmanjan commented 2 years ago

Thanks @dchurchland - which version should we use exactly? There seem to be new releases every month

dchurchland commented 2 years ago

Try 2.36.0

On Fri, 17 Jun 2022 at 09:39, Jan Martin @.***> wrote:

Thanks @dchurchland https://github.com/dchurchland - which version should we use exactly? There seem to be new releases every month

— Reply to this email directly, view it on GitHub https://github.com/content-manager-sdk/Community/issues/25#issuecomment-1158272900, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG7YHQPXKMF5HVK66SJNQTVPO3JVANCNFSM5Y5SZNRA . You are receiving this because you were mentioned.Message ID: @.***>

dchurchland commented 2 years ago

I have updated the script, you will find both it and the previous version linked from the SDK documentation.

On Thu, 16 Jun 2022 at 15:50, Jan Martin @.***> wrote:

We are having trouble running the powershell install script for teams

It seems that these parameters don't exist in the Azure CLI any more:

$appDetails = az ad app create --oauth2-allow-implicit-flow true --display-name "$appName" --identifier-uris "api://$myDomain/$newGuid" --required-resource-accesses "$curDir/resman.json"` --reply-urls @MyArray --only-show-errors

— Reply to this email directly, view it on GitHub https://github.com/content-manager-sdk/Community/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG7YHX4VYATP3AXNFUZVH3VPK6CLANCNFSM5Y5SZNRA . You are receiving this because you are subscribed to this thread.Message ID: @.***>