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
308 stars 604 forks source link

Short Name must be... #49

Closed PawelIntegrity closed 7 months ago

PawelIntegrity commented 7 months ago

Tool version Current version: 3.2.0

Describe the bug In configuration section > Current Projects/Apps/Services when I edit the Project/App/Service. It says that: short Name must be 1-3 characters.

To Reproduce N/a

Expected behavior I need it to be max 4 or even 5, how can I change it?

Screenshots image

Installation Method n/a

Additional context I need it to be max 4 or even 5, how can I change it?

BryanSoltis commented 7 months ago

Hi @PawelIntegrity,

This functionality is currently not available in the tool. We may add this at a later time. As an alternative, you could add a Custom Component, which allows Short Name values up to 10 characters.

PawelIntegrity commented 7 months ago

Hello,

Can you show me how to do it?

Br Paweł

[cid:d37bbcf3-aff0-4e41-91b2-acc06596e8fd.png] Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist

Mobile +48 882 398 041 Teams +48 882 398 041

Integrity Partners Sp. z o.o. ul. Chłodna 51, 00-867 Warszawa Office [cid:SocialLink_Linkedin_32x32_332a0918-6c3d-4064-9a1a-ee6a4bf17cdc.png]https://pl.linkedin.com/company/integrity-partners-cloud-security

Sąd Rejonowy dla m. st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000347184, NIP 527-262-00-67. Adres rejestrowy Firmy - ul. Chłodna 51, 00-867 Warszawa.

https://integritypartners.pl/microsoft-partner-awards-2022/[cid:stopkamailowa900x215potymicrosoft2023_f2546f1a-710b-4a68-91dc-91745100f68e.png]https://integritypartners.pl/integrity-partners-triumfuje-jako-partner-roku-microsoft-2023/ From: Bryan Soltis @.> Sent: Wednesday, November 22, 2023 2:44 PM To: mspnp/AzureNamingTool @.> Cc: Paweł Rybczyński @.>; Mention @.> Subject: Re: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

Nie otrzymujesz często wiadomości e-mail z adresu @.*** Dowiedz się, dlaczego jest to ważnehttps://aka.ms/LearnAboutSenderIdentification

Hi @PawelIntegrityhttps://github.com/PawelIntegrity,

This functionality is currently not available in the tool. We may add this at a later time. As an alternative, you could add a Custom Component, which allows Short Name values up to 10 characters.

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

BryanSoltis commented 7 months ago

You can add custom components by:

  1. On the Configuration Page / Components, select Add Component

image

  1. Enter the desired name, min length, max length, and select Standard for the Field Type.

image

  1. Expand the *Custom Components tab and select Add Component

image

  1. Enter the desired component option values. Note the min/max lengths from your component configuration.

image

Once enabled (on the Configuration / Components tab), your custom component/options will be available on the Generate page.

image

PawelIntegrity commented 7 months ago

Thanks for that, I'll test it

[cid:d37bbcf3-aff0-4e41-91b2-acc06596e8fd.png] Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist

Mobile +48 882 398 041 Teams +48 882 398 041

Integrity Partners Sp. z o.o. ul. Chłodna 51, 00-867 Warszawa Office [cid:SocialLink_Linkedin_32x32_332a0918-6c3d-4064-9a1a-ee6a4bf17cdc.png]https://pl.linkedin.com/company/integrity-partners-cloud-security

Sąd Rejonowy dla m. st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000347184, NIP 527-262-00-67. Adres rejestrowy Firmy - ul. Chłodna 51, 00-867 Warszawa.

https://integritypartners.pl/microsoft-partner-awards-2022/[cid:stopkamailowa900x215potymicrosoft2023_f2546f1a-710b-4a68-91dc-91745100f68e.png]https://integritypartners.pl/integrity-partners-triumfuje-jako-partner-roku-microsoft-2023/


From: Bryan Soltis @.> Sent: Wednesday, November 22, 2023 5:51:26 PM To: mspnp/AzureNamingTool @.> Cc: Paweł Rybczyński @.>; Mention @.> Subject: Re: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

Nie otrzymujesz często wiadomości e-mail z adresu @.*** Dowiedz się, dlaczego jest to ważnehttps://aka.ms/LearnAboutSenderIdentification

You can add custom components by:

  1. On the Configuration Page / Components, select Add Component

[https://user-images.githubusercontent.com/13591910/284978368-478e500d-88c8-41e4-b558-61664aa6774d.png]https://user-images.githubusercontent.com/13591910/284978368-478e500d-88c8-41e4-b558-61664aa6774d.png

  1. Enter the desired name, min length, max length, and select Standard for the Field Type.

[https://user-images.githubusercontent.com/13591910/284978532-0c86ac41-99a3-42b4-a181-e70533d99067.png]https://user-images.githubusercontent.com/13591910/284978532-0c86ac41-99a3-42b4-a181-e70533d99067.png

  1. Expand the *Custom Components tab and select Add Component

[https://user-images.githubusercontent.com/13591910/284978822-21c89a4d-539c-4de3-a2f9-c309f78513b8.png]https://user-images.githubusercontent.com/13591910/284978822-21c89a4d-539c-4de3-a2f9-c309f78513b8.png

  1. Enter the desired component option values. Note the min/max lengths from your component configuration.

[https://user-images.githubusercontent.com/13591910/284979021-599fdb94-f040-4f89-88cf-b3ee431fc0a3.png]https://user-images.githubusercontent.com/13591910/284979021-599fdb94-f040-4f89-88cf-b3ee431fc0a3.png

Once enabled (on the Configuration / Components tab), your custom component/options will be available on the Generate page.

[https://user-images.githubusercontent.com/13591910/284979189-8e03ea83-2d00-4e11-9848-beb2cfef607b.png]https://user-images.githubusercontent.com/13591910/284979189-8e03ea83-2d00-4e11-9848-beb2cfef607b.png

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

PawelIntegrity commented 7 months ago

hello

Is there any way to reset the global admin password in case if its eg. Forgotten?

Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist Mobile +48 882 398 041 e-mail @. From: Paweł Rybczyński @.> Sent: Friday, November 24, 2023 8:44 AM To: mspnp/AzureNamingTool @.>; mspnp/AzureNamingTool @.> Cc: Mention @.***> Subject: Re: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

Thanks for that, I'll test it

@.***

Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist

Mobile +48 882 398 041 Teams +48 882 398 041

Integrity Partners Sp. z o.o. ul. Chłodna 51, 00-867 Warszawa Office @.***https://pl.linkedin.com/company/integrity-partners-cloud-security

Sąd Rejonowy dla m. st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000347184, NIP 527-262-00-67. Adres rejestrowy Firmy - ul. Chłodna 51, 00-867 Warszawa.

@.***https://integritypartners.pl/integrity-partners-triumfuje-jako-partner-roku-microsoft-2023/


From: Bryan Soltis @.**@.>> Sent: Wednesday, November 22, 2023 5:51:26 PM To: mspnp/AzureNamingTool @.**@.>> Cc: Paweł Rybczyński @.**@.>>; Mention @.**@.>> Subject: Re: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

Nie otrzymujesz często wiadomości e-mail z adresu @.**@.>. Dowiedz się, dlaczego jest to ważnehttps://aka.ms/LearnAboutSenderIdentification

You can add custom components by:

  1. On the Configuration Page / Components, select Add Component

[https://user-images.githubusercontent.com/13591910/284978368-478e500d-88c8-41e4-b558-61664aa6774d.png]https://user-images.githubusercontent.com/13591910/284978368-478e500d-88c8-41e4-b558-61664aa6774d.png

  1. Enter the desired name, min length, max length, and select Standard for the Field Type.

[https://user-images.githubusercontent.com/13591910/284978532-0c86ac41-99a3-42b4-a181-e70533d99067.png]https://user-images.githubusercontent.com/13591910/284978532-0c86ac41-99a3-42b4-a181-e70533d99067.png

  1. Expand the *Custom Components tab and select Add Component

[https://user-images.githubusercontent.com/13591910/284978822-21c89a4d-539c-4de3-a2f9-c309f78513b8.png]https://user-images.githubusercontent.com/13591910/284978822-21c89a4d-539c-4de3-a2f9-c309f78513b8.png

  1. Enter the desired component option values. Note the min/max lengths from your component configuration.

[https://user-images.githubusercontent.com/13591910/284979021-599fdb94-f040-4f89-88cf-b3ee431fc0a3.png]https://user-images.githubusercontent.com/13591910/284979021-599fdb94-f040-4f89-88cf-b3ee431fc0a3.png

Once enabled (on the Configuration / Components tab), your custom component/options will be available on the Generate page.

[https://user-images.githubusercontent.com/13591910/284979189-8e03ea83-2d00-4e11-9848-beb2cfef607b.png]https://user-images.githubusercontent.com/13591910/284979189-8e03ea83-2d00-4e11-9848-beb2cfef607b.png

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

PawelIntegrity commented 7 months ago

Hello,

Your solution regards editing components worked, that's what I needed. Thanks!

Please let me know just in case "Is there any way to reset the global admin password in case if its eg. Forgotten? "

Moreover, I saw that when I generate naming convention string for virtual machines (windows) it removes my default delimiter which is "-", why? Can I fix it? It is allowed in azure so it should be allowed here.

Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist Mobile +48 882 398 041 e-mail @. From: Paweł Rybczyński @.> Sent: Friday, November 24, 2023 9:28 AM To: mspnp/AzureNamingTool @.>; mspnp/AzureNamingTool @.> Cc: Mention @.***> Subject: RE: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

hello

Is there any way to reset the global admin password in case if its eg. Forgotten?

Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist Mobile +48 882 398 041 e-mail @.**@.> From: Paweł Rybczyński @.**@.>> Sent: Friday, November 24, 2023 8:44 AM To: mspnp/AzureNamingTool @.**@.>>; mspnp/AzureNamingTool @.**@.>> Cc: Mention @.**@.>> Subject: Re: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

Thanks for that, I'll test it

@.***

Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist

Mobile +48 882 398 041 Teams +48 882 398 041

Integrity Partners Sp. z o.o. ul. Chłodna 51, 00-867 Warszawa Office @.***https://pl.linkedin.com/company/integrity-partners-cloud-security

Sąd Rejonowy dla m. st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000347184, NIP 527-262-00-67. Adres rejestrowy Firmy - ul. Chłodna 51, 00-867 Warszawa.

@.***https://integritypartners.pl/integrity-partners-triumfuje-jako-partner-roku-microsoft-2023/


From: Bryan Soltis @.**@.>> Sent: Wednesday, November 22, 2023 5:51:26 PM To: mspnp/AzureNamingTool @.**@.>> Cc: Paweł Rybczyński @.**@.>>; Mention @.**@.>> Subject: Re: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

Nie otrzymujesz często wiadomości e-mail z adresu @.**@.>. Dowiedz się, dlaczego jest to ważnehttps://aka.ms/LearnAboutSenderIdentification

You can add custom components by:

  1. On the Configuration Page / Components, select Add Component

[https://user-images.githubusercontent.com/13591910/284978368-478e500d-88c8-41e4-b558-61664aa6774d.png]https://user-images.githubusercontent.com/13591910/284978368-478e500d-88c8-41e4-b558-61664aa6774d.png

  1. Enter the desired name, min length, max length, and select Standard for the Field Type.

[https://user-images.githubusercontent.com/13591910/284978532-0c86ac41-99a3-42b4-a181-e70533d99067.png]https://user-images.githubusercontent.com/13591910/284978532-0c86ac41-99a3-42b4-a181-e70533d99067.png

  1. Expand the *Custom Components tab and select Add Component

[https://user-images.githubusercontent.com/13591910/284978822-21c89a4d-539c-4de3-a2f9-c309f78513b8.png]https://user-images.githubusercontent.com/13591910/284978822-21c89a4d-539c-4de3-a2f9-c309f78513b8.png

  1. Enter the desired component option values. Note the min/max lengths from your component configuration.

[https://user-images.githubusercontent.com/13591910/284979021-599fdb94-f040-4f89-88cf-b3ee431fc0a3.png]https://user-images.githubusercontent.com/13591910/284979021-599fdb94-f040-4f89-88cf-b3ee431fc0a3.png

Once enabled (on the Configuration / Components tab), your custom component/options will be available on the Generate page.

[https://user-images.githubusercontent.com/13591910/284979189-8e03ea83-2d00-4e11-9848-beb2cfef607b.png]https://user-images.githubusercontent.com/13591910/284979189-8e03ea83-2d00-4e11-9848-beb2cfef607b.png

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

BryanSoltis commented 7 months ago

All of the configuration data is stored in the /settings folder where you have the tool installed. If you open the /settings/appsettings.json file and clear out the value for AdminPassword, the site will prompt you to enter a new password. That would be the only way to "reset" the password.

PawelIntegrity commented 7 months ago

Thanks for that

[cid:d37bbcf3-aff0-4e41-91b2-acc06596e8fd.png] Paweł Rybczyński Microsoft Hybrid Cloud Solution Specialist

Mobile +48 882 398 041 Teams +48 882 398 041

Integrity Partners Sp. z o.o. ul. Chłodna 51, 00-867 Warszawa Office [cid:SocialLink_Linkedin_32x32_332a0918-6c3d-4064-9a1a-ee6a4bf17cdc.png]https://pl.linkedin.com/company/integrity-partners-cloud-security

Sąd Rejonowy dla m. st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000347184, NIP 527-262-00-67. Adres rejestrowy Firmy - ul. Chłodna 51, 00-867 Warszawa.

https://integritypartners.pl/microsoft-partner-awards-2022/[cid:stopkamailowa900x215potymicrosoft2023_f2546f1a-710b-4a68-91dc-91745100f68e.png]https://integritypartners.pl/integrity-partners-triumfuje-jako-partner-roku-microsoft-2023/ From: Bryan Soltis @.> Sent: Monday, November 27, 2023 3:18 PM To: mspnp/AzureNamingTool @.> Cc: Paweł Rybczyński @.>; Mention @.> Subject: Re: [mspnp/AzureNamingTool] Short Name must be... (Issue #49)

All of the configuration data is stored in the /settings folder where you have the tool installed. If you open the /settings/appsettings.json file and clear out the value for AdminPassword, the site will prompt you to enter a new password. Thaqt woudl be the only way to "reset" the password.

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