You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If dataverse user is being created and it is not had been added to the dataverse yet, we should wait for that to happen for a given period of time and when that still fails, we should return an error to the user, informing that it did not succeeded, and licensing for that user should be validated.
Contribution
Do you plan to raise a PR to address this issue? YES
The text was updated successfully, but these errors were encountered:
Describe the bug
panic: runtime error: index out of range [0] with length 0
[debug]github.com/microsoft/terraform-provider-power-platform/internal/services/authorization.(*client).GetDataverseUserByAadObjectId(0xc000c2efe0, 0xff50f0, 0xc00027a150, 0xc0008628d0?, 0x0?, 0xc0008628a0, 0x24)
[debug] github.com/microsoft/terraform-provider-power-platform/internal/services/authorization/api_user.go:164 +0x54c
[debug]github.com/microsoft/terraform-provider-power-platform/internal/services/authorization.(*client).CreateDataverseUser(0xc000c2efe0, 0xff50f0, 0xc00027a150, 0xc0008628d0, 0x24, 0xc0008628a0, 0x24)
Expected behavior
If dataverse user is being created and it is not had been added to the dataverse yet, we should wait for that to happen for a given period of time and when that still fails, we should return an error to the user, informing that it did not succeeded, and licensing for that user should be validated.
Contribution
Do you plan to raise a PR to address this issue? YES
The text was updated successfully, but these errors were encountered: