mspnp / AzureNamingTool

The Azure Naming Tool is a .NET 8 Blazor application, with a RESTful API. The UI consists of several pages to allow the configuration and generation of Azure Resource names. The API provides a programmatic interface for the functionality.
https://aka.ms/azurenamingtool
MIT License
346 stars 721 forks source link

Cant' fork version 4.0.0 and deploy to Azure App Service #66

Closed epfaffinger closed 7 months ago

epfaffinger commented 8 months ago

Tool version 3.3.0

Describe the bug I am trying to follow the directions to upgrade to 4.0.0 to fix the increment issue however it will not allow me to fork version 4.0.0 it just forks version 3.3.0. How do we actually perform an upgrade to 4.0.0?

To Reproduce Steps to reproduce the behavior: Trying to follow your migration document but step 5 only deploys version 3.3.0:

  1. BACKUP your current Azure Naming Tool installation
  2. Backup code modifications/customizations
  3. Review the Installation process for your environment
  4. Update your hosting environment to .NET 8
  5. Deploy the tool using your desired Installation process
  6. Confirm the site is running properly
  7. RESTORE your configuration

Expected behavior I was expecting to go to release 4.0.0. and create a fork from there and deploy.

Screenshots If applicable, add screenshots to help explain your problem.

Installation Method Run as an Azure Web App Using GitHub Action

Additional context I am not a Github expert so this very easily could be user error, I just don't know how to get version 4.0.0 up to our Azure web app.

BryanSoltis commented 8 months ago

Hello @epfaffinger,

Thank you for your feedback. V4.0.0 is currently only available as a Pre-Release package. The official version will be released later this week. Once it is released, you can fork it and use the updated codebase/workflow file to deploy to App Services.

Thank you!

epfaffinger commented 8 months ago

Awesome, thanks for the quick reply Bryan!

Very cool tool!

From: Bryan Soltis @.> Sent: Tuesday, January 9, 2024 3:56 PM To: mspnp/AzureNamingTool @.> Cc: Eric Pfaffinger @.>; Mention @.> Subject: Re: [mspnp/AzureNamingTool] Cant' fork version 4.0.0 and deploy to Azure App Service (Issue #66)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification CAUTION: This email originated from outside of Equitable Life. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hello @epfaffingerhttps://github.com/epfaffinger,

Thank you for your feedback. V4.0.0 is currently only available as a Pre-Release package. The official version will be released later this week. Once it is released, you can fork it and use the update codebase/workflow file to deploy to App Services.

Thank you!

- Reply to this email directly, view it on GitHubhttps://github.com/mspnp/AzureNamingTool/issues/66#issuecomment-1883778360, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQNY6HQVIYFGPOQDT2BEQX3YNWVFDAVCNFSM6AAAAABBTWEN5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTG43TQMZWGA. You are receiving this because you were mentioned.Message ID: @.**@.>>

IMPORTANT NOTICE: Internet may be vulnerable to interception. Equitable Life cannot ensure privacy or authenticity of information sent via internet, and is not responsible for any damages you incur by sending confidential or personal information to us or by sending such information to you at your request. This e-mail and any attachments are confidential, may be covered by privilege or exempt from disclosure under applicable law, and are intended for the addressee only. If you are not the intended recipient, you must not disclose, copy, distribute or retain any or part of this e-mail and any attachments without written permission of The Equitable Life Insurance Company of Canada.

AVIS IMPORTANT : L'Internet est susceptible ? l'interception. L'Assurance vie ?quitable ne peut garantir le droit ? la vie priv?e et l'authenticit? des renseignements envoy?s par l'entremise de l'Internet, et elle n'est pas responsable de tout dommage que vous pourriez subir en nous envoyant vos renseignements personnels ou confidentiels ou si nous vous envoyons de tels renseignements ? la suite de votre demande. Ce courriel et ses pi?ces jointes sont confidentiels, et peuvent ?tre prot?g?s par une clause de non-divulgation selon la loi applicable, et s'adressent ? la destinataire ou au destinataire seulement. Si vous n'?tes pas le destinataire vis? de ce courriel et de ses pi?ces jointes, vous ne devez pas les divulguer, les copier, les distribuer ou les conserver en tout ou en partie sans la permission ?crite de L'?quitable, compagnie d'assurance vie du Canada.

BryanSoltis commented 8 months ago

Hello @epfaffinger.

v4.0.0 was officially released today. You can view the Release NOtes / upgrade instructions here:

https://github.com/mspnp/AzureNamingTool/wiki/v4.0.0

-Bryan

epfaffinger commented 8 months ago

Thank you kindly, curious, when trying to get a token using the api we get the following, wondering if you have any insight?

Authentication Error: "['invalid_resource']". Description: "['AADSTS500011: The resource principal named https://siteurl was not found in the tenant named . This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.

Even tho the app service exists and the default domain has that resource principal name?

From: Bryan Soltis @.> Sent: Thursday, January 11, 2024 10:53 AM To: mspnp/AzureNamingTool @.> Cc: Eric Pfaffinger @.>; Mention @.> Subject: Re: [mspnp/AzureNamingTool] Cant' fork version 4.0.0 and deploy to Azure App Service (Issue #66)

You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification CAUTION: This email originated from outside of Equitable Life. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hello @epfaffingerhttps://github.com/epfaffinger.

v4.0.0 was officially released today. You can view the Release NOtes / upgrade instructions here:

https://github.com/mspnp/AzureNamingTool/wiki/v4.0.0

-Bryan

- Reply to this email directly, view it on GitHubhttps://github.com/mspnp/AzureNamingTool/issues/66#issuecomment-1887462859, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQNY6HXLYIYANHXTJR5UZJLYOADGRAVCNFSM6AAAAABBTWEN5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGQ3DEOBVHE. You are receiving this because you were mentioned.Message ID: @.**@.>>

IMPORTANT NOTICE: Internet may be vulnerable to interception. Equitable Life cannot ensure privacy or authenticity of information sent via internet, and is not responsible for any damages you incur by sending confidential or personal information to us or by sending such information to you at your request. This e-mail and any attachments are confidential, may be covered by privilege or exempt from disclosure under applicable law, and are intended for the addressee only. If you are not the intended recipient, you must not disclose, copy, distribute or retain any or part of this e-mail and any attachments without written permission of The Equitable Life Insurance Company of Canada.

AVIS IMPORTANT : L'Internet est susceptible ? l'interception. L'Assurance vie ?quitable ne peut garantir le droit ? la vie priv?e et l'authenticit? des renseignements envoy?s par l'entremise de l'Internet, et elle n'est pas responsable de tout dommage que vous pourriez subir en nous envoyant vos renseignements personnels ou confidentiels ou si nous vous envoyons de tels renseignements ? la suite de votre demande. Ce courriel et ses pi?ces jointes sont confidentiels, et peuvent ?tre prot?g?s par une clause de non-divulgation selon la loi applicable, et s'adressent ? la destinataire ou au destinataire seulement. Si vous n'?tes pas le destinataire vis? de ce courriel et de ses pi?ces jointes, vous ne devez pas les divulguer, les copier, les distribuer ou les conserver en tout ou en partie sans la permission ?crite de L'?quitable, compagnie d'assurance vie du Canada.

BryanSoltis commented 8 months ago

Hello @epfaffinger,

I have not seen that error before, it looks like an issue related to the app registration configuration. If you disable Authentication on your App Service, are you able to access the site? If so, I would recommend deleting your current Authentication Identity Provider (in your App Service), and reconfiguring.

Also, I would recommend editing your previous comment to remove any personal/corporate names/IDs for security purposes.

Please let me know the results of your testing and I can research further.

-Bryan

epfaffinger commented 8 months ago

Thank you kindly for the reply/feed back Bryan!

BryanSoltis commented 7 months ago

Closed due to inactivity.