microsoftgraph / group-membership-management

Group Membership Management (GMM) is a service that dynamically manages the membership of AAD Groups. Groups managed by GMM can have their membership defined using existing AAD Groups and/or custom membership sources.
Other
49 stars 10 forks source link

Error at the New-AzureADApplication cmdlet on Step: Set-GraphCredentialsAzureADApplication #12

Closed dborchers-gc closed 1 year ago

dborchers-gc commented 2 years ago

Describe the bug If got an Error at the New-AzureADApplication cmdlet `New-AzureADApplication : Error occurred while executing NewApplication Code: Request_BadRequest Message: The application identifier uri 'api://59601a9e-1c4c-4da9-8457-88ab08948afe' is invalid. RequestId: 1d042d59-5753-4838-aaab-6d341f3eafc1 DateTimeStamp: Thu, 02 Dec 2021 19:49:28 GMT Details: PropertyName - identifierUris, PropertyErrorCode - InvalidIdentifierUri HttpStatusCode: BadRequest HttpStatusDescription: Bad Request HttpResponseStatus: Completed In C:\Users\de50062\Documents\GitHub\group-membership-management\Scripts\Set-GraphCredentialsAzureADApplication.ps1:142 Zeichen:21

To Reproduce Run the Set-GraphCredentialsAzureADApplication Step in the Instructions

csando commented 2 years ago

Yea hey, I had the same issue... make the application manually first then run it. The powershell here is totally out of whack and there are actually recent breaking changes in Azure that will stop most of the poweshell here from working

dborchers-gc commented 2 years ago

Okay thank you for the tip. Is there any further issues I can handle?

Holen Sie sich Outlook für iOShttps://aka.ms/o0ukef


Von: Sandy @.> Gesendet: Friday, December 3, 2021 6:26:05 PM An: microsoftgraph/group-membership-management @.> Cc: Daniel Remmers @.>; Author @.> Betreff: Re: [microsoftgraph/group-membership-management] Error at the New-AzureADApplication cmdlet on Step: Set-GraphCredentialsAzureADApplication (Issue #12)

Yea hey, I had the same issue... make the application manually first then run it. The powershell here is totally out of whack and there are actually recent breaking changes in Azure that will stop most of the poweshell here from working

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoftgraph/group-membership-management/issues/12#issuecomment-985697596, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APGYI5Y4SUJTQQXFPCQDTIDUPD4S3ANCNFSM5JI6KPTA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

csando commented 2 years ago

Lol,

sorry yes, after bashing my face into this for the last few days, you will encounter so many errors you will want to smash your laptop. The Powershell badly needs to be updated. I have another issue here describing all the errors I have faced so far (well, most of them, some I forgot to document).

You will encounter the same errors making the app, as you will making the service principal and the connection. And more, it is very fun you know!