OfficeDev / microsoft-teams-apps-requestateam

Power Platform based solution that allows users to request teams and automates team creation. NO LONGER MAINTAINED. Please use 'Provision Assist' - https://github.com/pnp/provision-assist-m365/ instead.
MIT License
235 stars 66 forks source link

The subscription 'e3dc3d6b-677f-4d10-dc30-b619c709ea58' could not be found. #373

Open dpclay opened 2 years ago

dpclay commented 2 years ago

Description

The provided account dc-admin@cardworksbeta.onmicrosoft.com does not have access to subscription ID "f30db892-07e9-47e9-837c-80727f46fd3d".

Steps to reproduce

1.followed the directions 2. 3.

Expected results

Complete with no errors,

I cant figure out why I am gettign this error when I am a Global Admin

Actual Results

The provided account dc-admin@cardworksbeta.onmicrosoft.com does not have access to subscription ID "f30db892-07e9-47e9-837c-80727f46fd3d".

Solution component

Logic Apps

Operating system (environment)

Windows

Additional Info

PS C:\Users\MerrickUser\Downloads\microsoft-teams-apps-requestateam-1.1.0\microsoft-teams-apps-requestateam-1.1.0\Deployment\Scripts> C:\Users\MerrickUser\Downloads\microsoft-teams-apps-requestateam-1.1.0\microsoft-teams-apps-requestateam-1.1.0\Deployment\Scripts\msteamrequestapp.ps1

DEPLOYMENT SCRIPT STARTED

(c) Microsoft Corporation ### Installing required PowerShell Modules... Installed modules | | | | _ _ | '| / \ / ` || | | | / _ \/ || | ___ / ` | ____ | | / \ / || '_ _ \ | | | /| (| || || || /_ | | |____|| (| ||____|| | | /| (| || | | | | | || _| _, | _,| \||/ _| _,| _| \| _,||| || || || Launching Azure sign-in... WARNING: The subscription 'f30db892-07e9-47e9-837c-80727f46fd3d' could not be found. Connect-AzAccount : The provided account dc-admin@cardworksbeta.onmicrosoft.com does not have access to subscription ID "f30db892-07e9-47e9-837c-80727f46fd3d". Please try logging in with different credentials or a different subscription ID. If a subscription is not specified, please check the configs by Get-AzConfig. At C:\Users\MerrickUser\Downloads\microsoft-teams-apps-requestateam-1.1.0\microsoft-teams-apps-requestateam-1.1.0\Deploy ment\Scripts\deploy.ps1:807 char:14

Checking for availability of Key Vault... Exception calling "AcquireAccessToken" with "1" argument(s): "Object reference not set to an instance of an object." At C:\Users\MerrickUser\Downloads\microsoft-teams-apps-requestateam-1.1.0\microsoft-teams-apps-requestateam-1.1.0\Deploy ment\Scripts\deploy.ps1:323 char:5

Invoke-WebRequest : {"error":{"code":"SubscriptionNotFound","message":"The subscription 'f30db892-07e9-47e9-837c-80727f46fd3d' could not be found."}} At C:\Users\MerrickUser\Downloads\microsoft-teams-apps-requestateam-1.1.0\microsoft-teams-apps-requestateam-1.1.0\Deploy ment\Scripts\deploy.ps1:313 char:18

Get-AzLocation : Run Connect-AzAccount to login. At C:\Users\MerrickUser\Downloads\microsoft-teams-apps-requestateam-1.1.0\microsoft-teams-apps-requestateam-1.1.0\Deploy ment\Scripts\deploy.ps1:730 char:18

Invalid Azure Location. Please provide a valid location. See this list - https://azure.microsoft.com/en-gb/global-infrastructure/locations/ [azure.microsoft.com] At C:\Users\MerrickUser\Downloads\microsoft-teams-apps-requestateam-1.1.0\microsoft-teams-apps-requestateam-1.1.0\Deploy ment\Scripts\deploy.ps1:736 char:9

7gizmo commented 2 years ago

Hi, is the The subscription 'f30db892-07e9-47e9-837c-80727f46fd3d' the correct subscription ? and the user has owner rights ?

dpclay commented 2 years ago

Yes it does and is

Cheers,

Dave Clay | Sr SharePoint Administrator Merrick Bank Cell: 303-253-1397

From: 7gizmo @.> Sent: Tuesday, October 18, 2022 8:39 AM To: OfficeDev/microsoft-teams-apps-requestateam @.> Cc: David Clay @.>; Author @.> Subject: Re: [OfficeDev/microsoft-teams-apps-requestateam] The subscription 'e3dc3d6b-677f-4d10-dc30-b619c709ea58' could not be found. (Issue #373)

Hi, is the The subscription 'f30db892-07e9-47e9-837c-80727f46fd3d' the correct subscription ? and the user has owner rights ? — Reply to this email directly, view it on GitHub [github. com], or unsubscribe [github. com]. You are receiving

Hi, is the The subscription 'f30db892-07e9-47e9-837c-80727f46fd3d' the correct subscription ? and the user has owner rights ?

— Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/OfficeDev/microsoft-teams-apps-requestateam/issues/373*issuecomment-1282504049__;Iw!!NpL0Vht26w!GILwIhjRqpPKQniYlA5z5sllqf6ckoDdEnTC-6FRrSvpys00mKUMP2jvKatNhX4WJ-uknjjngAi5qhcqEr2o3y6sR7ytaA$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A3OWWBZJL62573DCOZFO25TWD2ZCDANCNFSM6AAAAAAQ6YWHJA__;!!NpL0Vht26w!GILwIhjRqpPKQniYlA5z5sllqf6ckoDdEnTC-6FRrSvpys00mKUMP2jvKatNhX4WJ-uknjjngAi5qhcqEr2o3y7HwscnQQ$. You are receiving this because you authored the thread.Message ID: @.**@.>>


This email and any files transmitted with it are confidential and are intended solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing, or copying of this e-mail, is strictly prohibited. If you have received this e-mail in error, please return it to the sender at Merrick Bank, and delete it from your computer.

Although Merrick Bank attempts to sweep email and attachments for viruses, it does not guarantee that they are virus-free, and accepts no liability for any damage sustained as a result.

7gizmo commented 2 years ago

Can you connect with this

Connect-AzAccount -Tenant 'xxxx-xxxx-xxxx-xxxx' -SubscriptionId 'yyyy-yyyy-yyyy-yyyy ?

dpclay commented 2 years ago

No, still gives unknow subscription

Cheers,

Dave Clay | Sr SharePoint Administrator Merrick Bank Cell: 303-253-1397

From: 7gizmo @.> Sent: Tuesday, October 18, 2022 8:50 AM To: OfficeDev/microsoft-teams-apps-requestateam @.> Cc: David Clay @.>; Author @.> Subject: Re: [OfficeDev/microsoft-teams-apps-requestateam] The subscription 'e3dc3d6b-677f-4d10-dc30-b619c709ea58' could not be found. (Issue #373)

Can you connect with this Connect-AzAccount -Tenant 'xxxx-xxxx-xxxx-xxxx' -SubscriptionId 'yyyy-yyyy-yyyy-yyyy ? — Reply to this email directly, view it on GitHub [github. com], or unsubscribe [github. com]. You are receiving this because

Can you connect with this

Connect-AzAccount -Tenant 'xxxx-xxxx-xxxx-xxxx' -SubscriptionId 'yyyy-yyyy-yyyy-yyyy ?

— Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/OfficeDev/microsoft-teams-apps-requestateam/issues/373*issuecomment-1282519120__;Iw!!NpL0Vht26w!BkWjiTOtQYP8fdSCh-b7ar2QRN0cx2LhaShL-61rWTjHcnbN79JpzjXBo4VyukNs23snAYvxsnYLzm4-DBbeef60GvTe6g$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A3OWWBYNTCWBB47UNPBO743WD22I5ANCNFSM6AAAAAAQ6YWHJA__;!!NpL0Vht26w!BkWjiTOtQYP8fdSCh-b7ar2QRN0cx2LhaShL-61rWTjHcnbN79JpzjXBo4VyukNs23snAYvxsnYLzm4-DBbeef79bmF9og$. You are receiving this because you authored the thread.Message ID: @.**@.>>


This email and any files transmitted with it are confidential and are intended solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing, or copying of this e-mail, is strictly prohibited. If you have received this e-mail in error, please return it to the sender at Merrick Bank, and delete it from your computer.

Although Merrick Bank attempts to sweep email and attachments for viruses, it does not guarantee that they are virus-free, and accepts no liability for any damage sustained as a result.

7gizmo commented 2 years ago

https://learn.microsoft.com/en-gb/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory

dpclay commented 2 years ago

Thank you that explains it!! You can close the ticket.

Cheers,

Dave Clay | Sr SharePoint Administrator Merrick Bank Cell: 303-253-1397

From: 7gizmo @.> Sent: Tuesday, October 18, 2022 9:10 AM To: OfficeDev/microsoft-teams-apps-requestateam @.> Cc: David Clay @.>; Author @.> Subject: Re: [OfficeDev/microsoft-teams-apps-requestateam] The subscription 'e3dc3d6b-677f-4d10-dc30-b619c709ea58' could not be found. (Issue #373)

https: //learn. microsoft. com/en-gb/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory [learn. microsoft. com] — Reply to this email directly, view it on GitHub [github. com], or unsubscribe [github. com]

https://learn.microsoft.com/en-gb/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory [learn.microsoft.com]https://urldefense.com/v3/__https:/learn.microsoft.com/en-gb/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory__;!!NpL0Vht26w!FHI5CnTbsP1NIlLBo54_NsI3hUJhsZYj79HN47R3ipVKOuFXsKHkBlasWUP63HXhn1iUB-cs2Ih1VVM6-swumEclUWH8Bw$

— Reply to this email directly, view it on GitHub [github.com]https://urldefense.com/v3/__https:/github.com/OfficeDev/microsoft-teams-apps-requestateam/issues/373*issuecomment-1282551709__;Iw!!NpL0Vht26w!FHI5CnTbsP1NIlLBo54_NsI3hUJhsZYj79HN47R3ipVKOuFXsKHkBlasWUP63HXhn1iUB-cs2Ih1VVM6-swumEf6IItQ9g$, or unsubscribe [github.com]https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A3OWWB2LRTAUIXO5YV7CTX3WD24UXANCNFSM6AAAAAAQ6YWHJA__;!!NpL0Vht26w!FHI5CnTbsP1NIlLBo54_NsI3hUJhsZYj79HN47R3ipVKOuFXsKHkBlasWUP63HXhn1iUB-cs2Ih1VVM6-swumEeJvPDi_w$. You are receiving this because you authored the thread.Message ID: @.**@.>>


This email and any files transmitted with it are confidential and are intended solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error, and that any use, dissemination, forwarding, printing, or copying of this e-mail, is strictly prohibited. If you have received this e-mail in error, please return it to the sender at Merrick Bank, and delete it from your computer.

Although Merrick Bank attempts to sweep email and attachments for viruses, it does not guarantee that they are virus-free, and accepts no liability for any damage sustained as a result.

7gizmo commented 2 years ago

You can close it yourself.