Skip to content

Extends aad app add with returning Directory ID. Closes #2187#2190

Closed
SmitaNachan wants to merge 2 commits intopnp:mainfrom
SmitaNachan:extend-aad-app-add
Closed

Extends aad app add with returning Directory ID. Closes #2187#2190
SmitaNachan wants to merge 2 commits intopnp:mainfrom
SmitaNachan:extend-aad-app-add

Conversation

@SmitaNachan
Copy link
Copy Markdown
Contributor

Extends aad app add with returning Directory ID. Closes #2187

@waldekmastykarz waldekmastykarz marked this pull request as draft February 20, 2021 13:10
@waldekmastykarz
Copy link
Copy Markdown
Member

Hey @SmitaNachan, it looks like we have tests failing. Would you mind having another look?

@SmitaNachan SmitaNachan marked this pull request as ready for review February 20, 2021 18:41
@waldekmastykarz waldekmastykarz self-assigned this Feb 24, 2021
Copy link
Copy Markdown
Member

@waldekmastykarz waldekmastykarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nicely done 👏


interface AppInfo {
appId: string;
// objectId
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep this comment in to disambiguate id

appId: _appInfo.appId,
objectId: _appInfo.id
objectId: _appInfo.id,
tenantId: Utils.getTenantIdFromAccessToken(auth.service.accessTokens[auth.defaultResource].value)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now this approach is good. If in the future we allow users to work on multiple directories, we'll need to adjust this.

@waldekmastykarz
Copy link
Copy Markdown
Member

Merged manually. Thank you! 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: extend aad app add with returning the directory ID

2 participants